Skip to content

Merge pull request #16 from rajlang/dependabot/npm_and_yarn/braces-3.0.3 #18

Merge pull request #16 from rajlang/dependabot/npm_and_yarn/braces-3.0.3

Merge pull request #16 from rajlang/dependabot/npm_and_yarn/braces-3.0.3 #18

Workflow file for this run

name: Publish to gh-pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '17'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run build:only
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist