Skip to content

Updated dependencies #7

Updated dependencies

Updated dependencies #7

Workflow file for this run

---
name: Deployment of runciv
concurrency:
group: production
cancel-in-progress: true
on:
push:
branches:
- main
jobs:
deployment:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: deploy to server
run: |
ssh -o "StrictHostKeyChecking accept-new" [email protected] "cd /root/runciv && git pull && cargo build -r && install -o root /root/runciv/target/release/runciv /usr/local/bin/runciv && /usr/local/bin/runciv migrate /root/runciv/migrations/ && systemctl restart runciv.service"