Skip to content

Commit

Permalink
Use github token
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekmig committed Oct 20, 2023
1 parent ac44d8f commit a6f32e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-website-depoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
./scripts/install_via_pip.sh -n -d
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "Captum website deployment script"
export GITHUB_TOKEN="${SECRET_GITHUB_TOKEN}"
echo $GITHUB_TOKEN
echo "machine github.com login github-actions password ${SECRET_GITHUB_TOKEN}" > ~/.netrc
./scripts/build_docs.sh -b
cd website
GIT_USER=github-actions yarn run publish-gh-pages
GIT_USER=github-actions USE_SSH=true yarn run publish-gh-pages

0 comments on commit a6f32e6

Please sign in to comment.