Skip to content

Commit

Permalink
Merge pull request #225 from CityOfDetroit/issue.224
Browse files Browse the repository at this point in the history
Add GH action for GH pages deployment
  • Loading branch information
maxatdetroit authored Jun 4, 2024
2 parents f703972 + e60c6dc commit 1c247f4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/manual-gh-pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Manual GH Pages Deployment

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16

- name: Install dependencies and build
run: |
yarn
yarn build-storybook --quiet
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static

0 comments on commit 1c247f4

Please sign in to comment.