Skip to content

Commit eb11be3

Browse files
committed
Now actually add cleanup
1 parent 88972cb commit eb11be3

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/cleanup.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Cleanup Deleted Branch
2+
3+
on:
4+
delete
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
cleanup:
11+
uses: DurhamARC-Training/PythonCourse-jupyterlite/.github/workflows/cleanup-branch-deployment.yml@github-action-branches
12+
secrets: inherit

.github/workflows/deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,3 @@ jobs:
1111
deploy:
1212
uses: DurhamARC-Training/PythonCourse-jupyterlite/.github/workflows/deploy-jupyterlite.yml@github-action-branches
1313
secrets: inherit
14-
15-
cleanup:
16-
if: github.event_name == 'delete'
17-
uses: DurhamARC-Training/PythonCourse-jupyterlite/.github/workflows/cleanup-branch-deployment.yml@github-action-branches
18-
secrets: inherit

0 commit comments

Comments
 (0)