Files
game-server-watcher/.github/workflows/deploy.yml
Smith a1dcee44cc wip
2023-02-19 19:51:02 +01:00

22 lines
460 B
YAML

name: ☁️ Deploy to the cloud
on:
workflow_dispatch:
# push:
# branches:
# - master
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 cloudrepo ${{ secrets.CLOUD_REPO_URL }}
git push -f cloudrepo ${{ github.ref_name }}:master