Files
game-server-watcher/.github/workflows/publish.yml
2022-03-31 17:14:09 +02:00

21 lines
415 B
YAML

name: ☁️ Deploy to the cloud
on:
push:
branches:
- cloud
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 🐙 Add new remote, and push to master
run: |
git remote add cloudnode ${{ secrets.CLOUD_REPO_URL }}
git push -f cloudnode cloud:master