Skip to content

Commit

Permalink
Added tokens for github pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Jun 18, 2024
1 parent 810fe99 commit a999515
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cd-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Deploy GitHub Pages
on:
workflow_dispatch:

env:
GITHUB_SERVICE_USER: "Microsoft FAST Builds"
GITHUB_SERVICE_EMAIL: "[email protected]"

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -14,6 +18,12 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- name: Set Git User
run: |
git config --global user.name "${{ env.GITHUB_SERVICE_USER }}"
git config --global user.email "${{ env.GITHUB_SERVICE_EMAIL }}"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down

0 comments on commit a999515

Please sign in to comment.