Merge pull request #303 from ExpediaGroup/dependabot/npm_and_yarn/web… #69
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: Publish Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
- 'website/**' | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 12 | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: 12 | |
- name: Build | |
run: | | |
cd website | |
npm install | |
npm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./website/build/Mittens | |
user_name: eg-oss-ci | |
user_email: oss@expediagroup.com |