Compare commits

..

No commits in common. "356a06dd4cb8546643efe6532402d3db94f89a47" and "179fc596cdf60178954903ccffb743196027d68e" have entirely different histories.

3 changed files with 6 additions and 25 deletions

View File

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

View File

@ -1,17 +0,0 @@
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 name: Deploy datapack to prod
on: on:
pull_request: pull_request:
branches: [master] branches: master
jobs: jobs:
build: build:
name: Build name: Build