Skip to content

Merge pull request #128 from pegasystems/feature/rtecount #126

Merge pull request #128 from pegasystems/feature/rtecount

Merge pull request #128 from pegasystems/feature/rtecount #126

# Simple workflow for deploying static content to GitHub Pages
name: Deploy to GitHub Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['master']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: npm ci
- run: npm run build-storybook
- name: Upload artifact
uses: actions/[email protected]
with:
path: './storybook-static'
- id: deploy
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
token: ${{ github.token }}