Skip to content

Commit

Permalink
Merge pull request #30 from weseek/fix/124523
Browse files Browse the repository at this point in the history
fix: Failing to deploy to GitHub Pages
  • Loading branch information
yuki-takei committed Jun 13, 2023
2 parents e78e8da + 0483277 commit c55e911
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,15 @@ jobs:
echo -n "npm " && npm -v
yarn list --depth=0
- name: Build and deploy
uses: jenkey2011/vuepress-deploy@master
# please check out the docs of the workflow for more details
# @see https://github.com/crazy-max/ghaction-github-pages
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v3
with:
# deploy to gh-pages branch
target_branch: gh-pages
# deploy the default output dir of VuePress
build_dir: docs/.vuepress/dist
env:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_SCRIPT: yarn docs:build
BUILD_DIR: docs/.vuepress/dist/
CNAME: growi.org
# @see https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c55e911

Please sign in to comment.