Tweaks to organisers guide (trying to breakup the monolith) #48
This file contains 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_website | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/deploy_website.yml' | |
- 'barcampcanterbury.com/**' | |
jobs: | |
test: | |
name: deploy_website | |
runs-on: ubuntu-latest | |
steps: | |
- id: ssh | |
uses: invi5H/ssh-action@v1 | |
with: | |
SSH_HOST: barcampcanterbury.com | |
#SSH_PORT: ${{ secrets.SSH_PORT }} | |
SSH_USER: barcampcanterbury | |
SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} | |
- run: ssh ${{ steps.ssh.outputs.SERVER }} 'cd barcampcanterbury.com && git pull' |