finish updating workflows
Some checks failed
Deploy datapack to dev / Build (push) Successful in 5s
Deploy datapack to staging / Build (push) Failing after 7s

This commit is contained in:
themodernhakr 2025-03-09 00:45:55 -06:00
parent 19734bfa77
commit 65a38df465
3 changed files with 9 additions and 5 deletions

View File

@ -16,4 +16,4 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/sadmin/containers/crafty/scripts/datapacks
./update_dev.sh
./update_dev.sh dev

View File

@ -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

View File

@ -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