.forgejo/workflows/deploy.yml aktualisiert
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Has been cancelled
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Has been cancelled
This commit is contained in:
parent
403a5c681b
commit
f81e50e264
1 changed files with 9 additions and 9 deletions
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
|
@ -15,14 +15,14 @@ jobs:
|
||||||
|
|
||||||
- name: Install lftp
|
- name: Install lftp
|
||||||
run: |
|
run: |
|
||||||
if command -v sudo > /dev/null; then
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y lftp
|
|
||||||
else
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y lftp
|
apt-get install -y lftp
|
||||||
fi
|
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Build Project
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
- name: Upload via SFTP
|
- name: Upload via SFTP
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue