Skip to content

New resto-survey.png picture #136

New resto-survey.png picture

New resto-survey.png picture #136

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
concurrency:
group: deploy
cancel-in-progress: true
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Add SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Add known hosts
run: |
ssh-keyscan -p 2222 -H pratchett.ugent.be >> ~/.ssh/known_hosts
- name: Run script
run: |
./server/deploy.sh ./server/