Skip to content

Merge pull request #275 from silinternational/remove-deepfactor #282

Merge pull request #275 from silinternational/remove-deepfactor

Merge pull request #275 from silinternational/remove-deepfactor #282

Workflow file for this run

name: github pages
on:
push:
branches:
- develop # Set a branch name to trigger deployment
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install -g sass
- run: npm ci
- run: npm test
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/develop'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static