mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-07-31 09:28:48 -04:00
21 lines
415 B
YAML
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
|