Skip to content

Commit ad2a5b4

Browse files
committed
[BUGFIX] Add permissions to top level set output url
1 parent 6498b80 commit ad2a5b4

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/site.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,29 @@ name: Site
33

44
on:
55
push:
6-
branches:
7-
- main
6+
branches: [$default-branch]
7+
workflow_dispatch:
88

99
env:
1010
NODE: 22.x
1111

12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
1221
jobs:
1322
deploy:
1423
name: Deploy
1524
runs-on: ubuntu-latest
1625
if: github.repository == 'typo3/typo3.icons'
1726
environment:
1827
name: github-pages
19-
permissions:
20-
contents: read
21-
pages: write
22-
id-token: write
28+
url: ${{ steps.deployment.outputs.page_url }}
2329

2430
steps:
2531
- name: Checkout Code

0 commit comments

Comments
 (0)