mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-13 04:55:50 +00:00
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/dorny/paths-filter/releases) - [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md) - [Commits](https://github.com/dorny/paths-filter/compare/v3.0.1...v3.0.2) --- updated-dependencies: - dependency-name: dorny/paths-filter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
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/paths-filter@v3.0.2
|
|
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: jenkey2011/vuepress-deploy@master
|
|
env:
|
|
ACCESS_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 |