We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053b675 commit c0d7ff0Copy full SHA for c0d7ff0
.github/workflows/ci.yml
@@ -2,7 +2,7 @@ name: ci
2
3
on:
4
schedule:
5
- - cron: '0 10 * * *' # everyday at 10am
+ - cron: '0 10 * * *'
6
push:
7
branches:
8
- 'dev'
.github/workflows/cleanup.yml
@@ -0,0 +1,26 @@
1
+name: cleanup
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: '0 0 1 * *'
+jobs:
9
+ branches:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ branch:
15
+ - gh-pages
16
+ - gh-pages-keep
17
+ steps:
18
+ -
19
+ name: Delete branch
20
+ uses: actions/github-script@v6
21
+ with:
22
+ script: |
23
+ await github.rest.git.deleteRef({
24
+ ...context.repo,
25
+ ref: "heads/${{ matrix.branch }}"
26
+ });
0 commit comments