tangled
alpha
login
or
join now
socksthewolf.com
/
skyscheduler
2
fork
atom
Schedule posts to Bluesky with Cloudflare workers.
skyscheduler.work
cf
tool
bsky-tool
cloudflare
bluesky
schedule
bsky
service
social-media
cloudflare-workers
2
fork
atom
overview
issues
pulls
pipelines
Push deploy cleanup job
SocksTheWolf
2 months ago
2e7ea81e
c3f28798
+34
1 changed file
expand all
collapse all
unified
split
.github
workflows
clean.yml
+34
.github/workflows/clean.yml
···
1
1
+
# This workflow cleans up the cf cache for your application
2
2
+
# as well as cleans up previous GH actions queues
3
3
+
4
4
+
name: Clean Environment
5
5
+
6
6
+
on:
7
7
+
push:
8
8
+
branches: ["main"]
9
9
+
10
10
+
permissions:
11
11
+
id-token: write
12
12
+
actions: write
13
13
+
14
14
+
jobs:
15
15
+
# Clean job
16
16
+
cleanup:
17
17
+
runs-on: ubuntu-latest
18
18
+
permissions: write-all
19
19
+
continue-on-error: true
20
20
+
environment:
21
21
+
name: cloudflare
22
22
+
steps:
23
23
+
- name: Cleanup Actions
24
24
+
uses: igorjs/gh-actions-clean-workflow@v7
25
25
+
with:
26
26
+
token: ${{ secrets.GITHUB_TOKEN }}
27
27
+
runs_to_keep: 1
28
28
+
runs_older_than: 0
29
29
+
- name: Cloudflare Cache Cleaner
30
30
+
uses: Cyb3r-Jak3/action-cloudflare-cache@v3.0.0
31
31
+
with:
32
32
+
zone: ${{ secrets.CLOUDFLARE_ZONE }}
33
33
+
api_token: ${{ secrets.CLOUDFLARE_TOKEN }}
34
34
+
account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}