Skip to content

Commit 995f648

Browse files
committed
tweak token usage
1 parent 23552c6 commit 995f648

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/gh_pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- env:
13+
GITHUB_TOKEN: ${{ github.token }}
1214
- uses: actions/checkout@v2
1315
- uses: subosito/flutter-action@v1
1416
with:
@@ -25,7 +27,7 @@ jobs:
2527
git init
2628
git config user.name "GroovinChip"
2729
git config user.email "groovinchip@github.com"
28-
git remote add secure-origin https://${{ secrets.GITHUB_TOKEN }}@github.com/GroovinChip/macos_ui.git
30+
git remote add secure-origin https://username:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
2931
git checkout -b gh-pages
3032
git add .
3133
git commit -m "update"

0 commit comments

Comments
 (0)