1 parent 5176acb commit f6e164eCopy full SHA for f6e164e
1 file changed
.github/workflows/cd.yml
@@ -3,11 +3,6 @@ on:
3
branches: [main]
4
workflow_dispatch:
5
6
-permissions:
7
- contents: write
8
- id-token: write
9
- pages: write
10
-
11
jobs:
12
release:
13
if: github.ref == 'refs/heads/main'
@@ -16,6 +11,10 @@ jobs:
16
environment:
17
name: github-pages
18
url: ${{ steps.deployment.outputs.page_url }}
14
+ permissions:
15
+ contents: write
+ pages: write
+ id-token: write
19
env:
20
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
steps:
@@ -55,6 +54,9 @@ jobs:
55
54
runs-on: ubuntu-latest
56
57
58
59
60
61
- run: | # Cleanup rolling releases > 7 days or < 12 hours
62
gh release list --json tagName,createdAt,isPrerelease \
0 commit comments