Closer to W3C + assorted refactors #71
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to site | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install SSH key | |
| uses: shimataro/ssh-key-action@v2 | |
| with: | |
| key: ${{ secrets.SITES_SSH_PRIVATE_KEY }} | |
| name: id_ed25519 | |
| known_hosts: ${{ vars.SSH_KNOWN_HOSTS }} | |
| config: ${{ vars.SSH_CONFIG }} | |
| if_key_exists: fail | |
| - name: Update Server | |
| run: ssh sites "/srv/warwickspeedrun/source/build.sh" |