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
|
||||
on:
|
||||
pull_request:
|
||||
branches: master
|
||||
branches: [master]
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user