mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-13 04:55:50 +00:00
replace github pagesdeployment action
This commit is contained in:
parent
7e8545327a
commit
bc9d6bd36c
22
.github/workflows/e2e.deploy.docs.yml
vendored
22
.github/workflows/e2e.deploy.docs.yml
vendored
@ -28,20 +28,22 @@ jobs:
|
|||||||
needs: files-changed
|
needs: files-changed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
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'
|
||||||
|
|
||||||
- name: Checkout
|
# run build script
|
||||||
uses: actions/checkout@master
|
- name: Build Docs
|
||||||
|
run: npm docs:build
|
||||||
|
|
||||||
- name: vuepress-deploy
|
- name: Deploy to GitHub Pages
|
||||||
uses: jenkey2011/vuepress-deploy@master
|
uses: crazy-max/ghaction-github-pages@v4
|
||||||
|
with:
|
||||||
|
target_branch: gh-pages
|
||||||
|
build_dir: build/docs/
|
||||||
env:
|
env:
|
||||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
#TARGET_REPO: username/repo
|
|
||||||
#TARGET_BRANCH: master
|
|
||||||
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