finish updating workflows
This commit is contained in:
parent
19734bfa77
commit
65a38df465
@ -16,4 +16,4 @@ jobs:
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
cd /home/sadmin/containers/crafty/scripts/datapacks
|
||||
./update_dev.sh
|
||||
./update_dev.sh dev
|
||||
|
||||
@ -14,4 +14,6 @@ jobs:
|
||||
username: linuxserver.io
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script_path: scripts/update_servers.sh
|
||||
script: |
|
||||
cd /home/sadmin/containers/crafty/scripts/datapacks
|
||||
./update_dev.sh prod
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
name: Deploy datapack to prod
|
||||
name: Deploy datapack to staging
|
||||
on:
|
||||
push:
|
||||
branches: [staging]
|
||||
@ -7,11 +7,13 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Updating prod servers...
|
||||
- name: Updating staging servers...
|
||||
uses: appleboy/ssh-action@v1.2.1
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: linuxserver.io
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script_path: scripts/update_servers.sh
|
||||
script: |
|
||||
cd /home/sadmin/containers/crafty/scripts/datapacks
|
||||
./update_dev.sh stag
|
||||
|
||||
Loading…
Reference in New Issue
Block a user