Files
whisper-frontend/.gitea/workflows/deploy-branch.yaml
Andreas Svanberg 4610e3c8e6
Some checks failed
Deploy to branch.dsv.su.se / Deploy-branch (push) Failing after 4s
More debugging
2024-07-04 10:18:02 +02:00

16 lines
628 B
YAML

name: Deploy to branch.dsv.su.se
on: [push]
jobs:
Deploy-branch:
runs-on: ubuntu-latest
steps:
- run: echo "${{ gitea.repository }}"
- run: echo "${{ gitea.refname }}"
- run: |
echo "${{ secrets.DEPLOY_KEY }}" >> ssh_key
chmod 0600 ssh_key
- name: List files in the repository
run: ls -l ${{ gitea.workspace }}
- run: echo "${{ gitea.serverurl }}/${{ gitea.repository }}.git ${{ gitea.refname }}"
- run: echo "${{ gitea.serverurl }}/${{ gitea.repository }}.git ${{ gitea.refname }}" | ssh -o StrictHostKeyChecking=accept-new -i ssh_key branch.dsv.su.se