Compare commits

...

5 Commits

Author SHA1 Message Date
356a06dd4c Merge branch 'master' into dev-database 2025-03-08 19:58:18 -06:00
ce0d8cc424 overhaul gitea workflows
- move action.yaml from root to workflows directory.
- rename to push_prod.
- add push_staging and push_dev.
2025-03-08 19:56:07 -06:00
31b2bf8cf5 Merge pull request 'Create workflow that can be configured to update production servers' (#3) from dev into master
All checks were successful
remote ssh command / Build (push) Successful in 4s
Reviewed-on: #3
2025-02-26 13:37:55 -06:00
1a9b650679 Merge pull request 'hotfix build script' (#2) from dev into master
Reviewed-on: #2
2025-02-26 01:00:49 -06:00
48bdeceb93 Merge pull request 'Convert codebase to JMC' (#1) from dev into master
Reviewed-on: #1
2025-02-26 00:51:23 -06:00
3 changed files with 25 additions and 6 deletions

View File

@ -0,0 +1,17 @@
name: Deploy datapack to prod
on:
pull_request:
branches: [dev, dev-player-messages, dev-database]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Updating prod 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

View File

@ -1,7 +1,7 @@
name: Deploy datapack to prod
on:
pull_request:
branches: master
branches: [master]
jobs:
build:
name: Build

View File

@ -1,15 +1,17 @@
name: remote ssh command
on: [push]
name: Deploy datapack to prod
on:
pull_request:
branches: [staging]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: update server datapack folder
- name: Updating prod servers...
uses: appleboy/ssh-action@v1.2.1
with:
host: ${{ secrets.HOST }}
username: sadmin
username: linuxserver.io
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami
script_path: scripts/update_servers.sh