Merge pull request #216 from IT4Change/renovate/patch-typescript-esli… #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e:deploy:docs to github | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
files-changed: | |
name: Detect File Changes | |
runs-on: ubuntu-latest | |
outputs: | |
changes: ${{ steps.changes.outputs.e2e-docs }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Check for e2e docs file changes | |
uses: dorny/[email protected] | |
id: changes | |
with: | |
token: ${{ github.token }} | |
filters: .github/file-filters.yml | |
list-files: shell | |
build-and-deploy: | |
if: needs.files-changed.outputs.changes == 'true' | |
name: Deploy Docs - E2E Testing | |
needs: files-changed | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: vuepress-deploy | |
uses: IT4Change/vuepress-build-and-deploy@master | |
env: | |
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BUILD_SCRIPT: npm install && npm run docs:build | |
BUILD_DIR: build/docs/ | |
VUEPRESS_BASE: boilerplate-e2e-cypress-cucumber |