File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 steps :
77 - name : Checkout
88 uses : actions/checkout@master
9+ with :
10+ # fetch all commits to get last updated time or other git log info
11+ fetch-depth : 0
912
10- - name : vuepress-deploy
11- uses : jenkey2011/vuepress-deploy@master
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version : 12
17+
18+ - name : Install deps
19+ run : yarn
20+
21+ - name : Build VuePress site
22+ run : yarn build
23+
24+ # please check out the docs of the workflow for more details
25+ # @see https://github.com/crazy-max/ghaction-github-pages
26+ - name : Deploy to GitHub Pages
27+ uses : crazy-max/ghaction-github-pages@v4
28+ with :
29+ target_branch : gh-pages
30+ build_dir : docs/.vuepress/dist/
1231 env :
13- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
14- TARGET_REPO : copytranslator/copytranslator.github.io
15- TARGET_BRANCH : gh_pages
16- BUILD_SCRIPT : yarn && yarn build
17- BUILD_DIR : docs/.vuepress/dist/
32+ GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments