See it in action at https://studentportalen-branch-pr-deployment.branch.dsv.su.se/ Reviewed-on: #4 Reviewed-by: erth9960 <thuning@dsv.su.se>
15 lines
370 B
YAML
15 lines
370 B
YAML
name: Remove branch deployment from branch.dsv.su.se
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
jobs:
|
|
cleanup:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://gitea.dsv.su.se/ansv7779/action-branch-deploy@v2
|
|
with:
|
|
cleanup-ssh-key: ${{ secrets.BRANCH_CLEANUP_KEY }}
|
|
compose-file: branch-compose.yaml
|
|
mode: 'cleanup'
|