Skip to content

Commit

Permalink
Iterating on GitHub Actions-based doc updates
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 348411339
  • Loading branch information
cushon authored and Error Prone Team committed Dec 21, 2020
1 parent 9fb0a00 commit ef4ad37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@ jobs:
with:
java-version: 15
- name: 'Generate latest docs'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./util/generate-latest-docs.sh
2 changes: 1 addition & 1 deletion util/generate-latest-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo -e "Publishing docs...\n"

GH_PAGES_DIR=$HOME/gh-pages

git clone --quiet --branch=gh-pages https://${GITHUB_TOKEN}@github.com/google/error-prone $GH_PAGES_DIR > /dev/null
git clone --quiet --branch=gh-pages https://x-access-token:${GITHUB_TOKEN}@github.com/google/error-prone.git $GH_PAGES_DIR > /dev/null
(
cd $GH_PAGES_DIR
rm -rf _data/bugpatterns.yaml api/latest
Expand Down

0 comments on commit ef4ad37

Please sign in to comment.