Merge pull request #54 from IT4Change/change-docs-deploy-action

refactor(other): change docs deploy action
This commit is contained in:
mahula 2024-04-06 14:07:40 +02:00 committed by GitHub
commit baee8150bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,20 +31,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Set Node version
uses: actions/setup-node@v4
with:
node-version: 21
# run build script
- name: Build Docs
run: npm install && npm run docs:build
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: build/docs
verbose: true
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
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