Compare commits
5 Commits
179fc596cd
...
356a06dd4c
| Author | SHA1 | Date | |
|---|---|---|---|
| 356a06dd4c | |||
| ce0d8cc424 | |||
| 31b2bf8cf5 | |||
| 1a9b650679 | |||
| 48bdeceb93 |
17
.gitea/workflows/push_dev.yaml
Normal file
17
.gitea/workflows/push_dev.yaml
Normal 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
|
||||||
@ -1,7 +1,7 @@
|
|||||||
name: Deploy datapack to prod
|
name: Deploy datapack to prod
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: master
|
branches: [master]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
@ -1,15 +1,17 @@
|
|||||||
name: remote ssh command
|
name: Deploy datapack to prod
|
||||||
on: [push]
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [staging]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: update server datapack folder
|
- name: Updating prod servers...
|
||||||
uses: appleboy/ssh-action@v1.2.1
|
uses: appleboy/ssh-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: sadmin
|
username: linuxserver.io
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: whoami
|
script_path: scripts/update_servers.sh
|
||||||
Loading…
Reference in New Issue
Block a user