Skip to content

dream.opam: depend on latest dream-httpaf #55

dream.opam: depend on latest dream-httpaf

dream.opam: depend on latest dream-httpaf #55

Workflow file for this run

name: systemd
on:
push:
paths:
- 'example/z-systemd/**'
- .github/workflows/systemd.yml
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: example/z-systemd
steps:
- uses: actions/checkout@v2
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{secrets.DIGITALOCEAN_SSH_KEY}}
- run: echo "${{secrets.DIGITALOCEAN_SYSTEMD_KNOWN_HOSTS}}" >> /home/runner/.ssh/known_hosts
- run: rsync -rlv . [email protected]:app --exclude _esy --exclude node_modules
- run: ssh [email protected] "cd app && bash build.sh"
- run: ssh [email protected] "bash /home/build/app/deploy.sh"