Skip to content

Merge pull request #662 from puppetlabs/CDPE-6574/update-authenticati… #98

Merge pull request #662 from puppetlabs/CDPE-6574/update-authenticati…

Merge pull request #662 from puppetlabs/CDPE-6574/update-authenticati… #98

Workflow file for this run

name: GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12.4.0
- run: npm install
- run: npm run build --if-present
- run: npm test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node version
uses: actions/setup-node@v4
with:
node-version: 12.4.0
- name: Install
run: |
cd packages/design-system-website
npm install
npm run styleguide:build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: packages/design-system-website/dist