Skip to content

Commit 6be7788

Browse files
committed
fixes
1 parent b101a86 commit 6be7788

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/generate-cache.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Generate Image Cache and Deploy to GitHub Pages
22

3-
permissions:
4-
contents: write
5-
pages: write
6-
id-token: write
73
on:
84
# Run on a schedule (every day at midnight UTC)
95
schedule:
@@ -23,7 +19,7 @@ on:
2319

2420
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2521
permissions:
26-
contents: read
22+
contents: write
2723
pages: write
2824
id-token: write
2925

.github/workflows/manual-generate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Manual Generate Cache (No Pull)
22

33
on:
44
workflow_dispatch:
5+
6+
57
permissions:
68
contents: write
79
pages: write

0 commit comments

Comments
 (0)