Skip to content

Commit

Permalink
tweak token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
GroovinChip committed May 2, 2021
1 parent 23552c6 commit 995f648
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
Expand All @@ -25,7 +27,7 @@ jobs:
git init
git config user.name "GroovinChip"
git config user.email "groovinchip@github.com"
git remote add secure-origin https://${{ secrets.GITHUB_TOKEN }}@github.com/GroovinChip/macos_ui.git
git remote add secure-origin https://username:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git checkout -b gh-pages
git add .
git commit -m "update"
Expand Down

0 comments on commit 995f648

Please sign in to comment.