update demo doi #38
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
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
deploy_dev: | |
name: Pull latest develop and redeploy dev instance | |
runs-on: ubuntu-latest | |
steps: | |
- name: SSH dev pull and build | |
uses: D3rHase/[email protected] | |
with: | |
host: dev.openaccessbutton.org | |
user: ${{secrets.USER_TEST_V1}} | |
private_key: ${{secrets.GA_ED25519}} | |
host_fingerprint: ${{secrets.FINGERPRINT_TEST_V1}} | |
command: cd ~/dev/oaworks/embed && git pull && cd ~/dev/openresearchbutton/website && git pull && npm install && node build.js && sudo nginx -s reload |