mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-13 04:55:50 +00:00
change docs deploy action
This commit is contained in:
parent
f396951c18
commit
547f2b0113
32
.github/workflows/e2e.deploy.docs.yml
vendored
32
.github/workflows/e2e.deploy.docs.yml
vendored
@ -3,7 +3,7 @@ name: e2e:deploy:docs to github
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- change-docs-deploy-action
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
files-changed:
|
files-changed:
|
||||||
@ -31,20 +31,26 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Set Node version
|
# - name: Set Node version
|
||||||
uses: actions/setup-node@v4
|
# uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: 21
|
# node-version: 21
|
||||||
|
|
||||||
# run build script
|
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: npm install && npm run docs:build
|
run: npm install && npm run docs:build
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
# - name: Deploy to GitHub Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v4
|
# uses: crazy-max/ghaction-github-pages@v4
|
||||||
with:
|
# with:
|
||||||
target_branch: gh-pages
|
# target_branch: gh-pages
|
||||||
build_dir: build/docs
|
# build_dir: build/docs/
|
||||||
verbose: true
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: vuepress-deploy
|
||||||
|
uses: jenkey2011/vuepress-deploy@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
BUILD_SCRIPT: npm install && npm run docs:build
|
||||||
|
BUILD_DIR: build/docs/
|
||||||
|
VUEPRESS_BASE: boilerplate-e2e-cypress-cucumber
|
||||||
Loading…
x
Reference in New Issue
Block a user