Skip to content

Merge pull request #303 from ExpediaGroup/dependabot/npm_and_yarn/web… #69

Merge pull request #303 from ExpediaGroup/dependabot/npm_and_yarn/web…

Merge pull request #303 from ExpediaGroup/dependabot/npm_and_yarn/web… #69

Workflow file for this run

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