14 lines
408 B
YAML
14 lines
408 B
YAML
name: Clean up branch.dsv.su.se
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
jobs:
|
|
Cleanup-branch:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: |
|
|
echo "${{ secrets.BRANCH_CLEANUP_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
|