Skip to content

Commit f3e3206

Browse files
committed
Updated Retype Action
1 parent b605a32 commit f3e3206

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

.github/workflows/retype-action.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update CommandPost Website & Publish to GitHub Pages
1+
name: Build CommandPost Website
22
on:
33
workflow_dispatch:
44
push:
@@ -82,21 +82,14 @@ jobs:
8282
steps:
8383
- uses: actions/checkout@v4
8484

85-
- uses: actions/setup-dotnet@v1
85+
- uses: actions/setup-dotnet@v4
8686
with:
87-
dotnet-version: 7.0.x
87+
dotnet-version: 9.0.x
8888

89-
- uses: retypeapp/action-build@a95ca1f9508dec8465a93f2e50a1228d22e90f4e
90-
with:
91-
license: ${{ secrets.RETYPE_SECRET }}
89+
- uses: retypeapp/action-build@latest
90+
env:
91+
RETYPE_KEY: ${{ secrets.RETYPE_SECRET }}
9292

9393
- uses: retypeapp/action-github-pages@latest
9494
with:
95-
update-branch: true
96-
97-
- name: Purge CloudFlare cache
98-
run: |
99-
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_ZONE_ID }}/purge_cache" \
100-
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
101-
-H "Content-Type: application/json" \
102-
--data '{"purge_everything":true}'
95+
update-branch: true

docs/retype.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,7 @@ favicon: static/favicon.ico
5858

5959
data:
6060
star: "<span class=\"fa fa-star checked\"></span>"
61-
unstar: "<span class=\"fa fa-star\">"
61+
unstar: "<span class=\"fa fa-star\">"
62+
63+
scheme:
64+
mode: dark

0 commit comments

Comments
 (0)