Skip to content

Commit

Permalink
fix: mask GITHUB_ACCESS_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianBezold committed Aug 14, 2023
1 parent 78f699b commit 13eb373
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-deploy-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
env:
GITHUB_ACCESS_TOKEN: ${{ github.event.inputs.github_token }}
run: |
echo "::add-mask::$GITHUB_ACCESS_TOKEN"
echo "::add-mask::${{env.GITHUB_ACCESS_TOKEN}}"
echo "GITHUB_ACCESS_TOKEN=${{env.GITHUB_ACCESS_TOKEN}}" >> $GITHUB_ENV
cd ${{ env.DASHBOARD_DIR }}
go run main.go build
Expand Down

0 comments on commit 13eb373

Please sign in to comment.