Skip to content

Merge remote-tracking branch 'origin/develop' #2

Merge remote-tracking branch 'origin/develop'

Merge remote-tracking branch 'origin/develop' #2

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy_prod:
name: Pull latest master and redeploy prod instance
runs-on: ubuntu-latest
steps:
- name: SSH live pull and build (same machine so correct host is dev.)
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 ~/live/oaworks/embed && git pull && cd ~/live/openresearchbutton/website && git pull && npm install && node build.js && sudo nginx -s reload