Skip to content

Commit 66fb9a7

Browse files
committed
fix: deployment.
1 parent 9a7202f commit 66fb9a7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: ["main"]
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
813
env:
914
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
1015
VITE_GTM_ID: ${{ vars.VITE_GTM_ID }}
@@ -53,7 +58,7 @@ jobs:
5358
deploy:
5459
environment:
5560
name: github-pages
56-
url: ${{ steps.deployment.outputs.page_url }}
61+
url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
5762
runs-on: ubuntu-latest
5863
needs: build
5964
steps:

0 commit comments

Comments
 (0)