.forgejo/workflows/deploy.yml aktualisiert
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Failing after 37s
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Failing after 37s
This commit is contained in:
parent
45929d86b7
commit
2bc6fad8ae
1 changed files with 7 additions and 5 deletions
|
@ -16,17 +16,19 @@ jobs:
|
||||||
- name: Install lftp
|
- name: Install lftp
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y lftp
|
apt-get install -y lftp
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
working-directory: ScoreSniper
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
working-directory: ScoreSniper
|
||||||
|
|
||||||
- name: Upload via SFTP
|
- name: Upload via SFTP
|
||||||
run: |
|
run: |
|
||||||
lftp -u ${{ secrets.SFTP_USER }},${{ secrets.SFTP_PASS }} sftp://potzplitz.de <<EOF
|
lftp -u ${{ secrets.SFTP_USER }},${{ secrets.SFTP_PASS }} sftp://potzplitz.de <<EOF
|
||||||
mirror -R --delete ./dist /var/www/html/scoresniper
|
mirror -R --delete ScoreSniper/dist /var/www/html/scoresniper
|
||||||
quit
|
quit
|
||||||
EOF
|
EOF
|
Loading…
Reference in a new issue