Some checks failed
Deploy to branch.dsv.su.se / Deploy-branch (push) Failing after 3s
15 lines
536 B
YAML
15 lines
536 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 }}" | ssh -o StrictHostKeyChecking=accept-new -i ssh_key branch.dsv.su.se
|