Files
whisper-frontend/.gitea/workflows/deploy-branch.yaml
Andreas Svanberg b45c9ff3f0
All checks were successful
Clean up branch.dsv.su.se / Cleanup-branch (pull_request) Successful in 7s
Deploy to branch.dsv.su.se / Deploy-branch (pull_request) Successful in 1m2s
Fix branch name
2024-07-08 13:30:28 +02:00

16 lines
449 B
YAML

name: Deploy to branch.dsv.su.se
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
jobs:
Deploy-branch:
runs-on: ubuntu-latest
steps:
- run: |
echo "${{ secrets.BRANCH_DEPLOY_KEY }}" >> ssh_key
chmod 0600 ssh_key
- run: echo "${{ gitea.serverurl }}/${{ gitea.repository }}.git ${{ gitea.headref }}" | ssh -o StrictHostKeyChecking=accept-new -i ssh_key branch.dsv.su.se