Skip to content

Merge pull request #284 from garritfra/dependabot/npm_and_yarn/types/… #360

Merge pull request #284 from garritfra/dependabot/npm_and_yarn/types/…

Merge pull request #284 from garritfra/dependabot/npm_and_yarn/types/… #360

Workflow file for this run

on:
issues:
types: [opened, edited, closed, reopened, deleted, labeled, unlabeled]
push:
branches:
- main
name: Deploy to Github Pages
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
name: Checkout
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache Node Modules
id: cache-node-modules
uses: actions/[email protected]
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
- name: Build
env:
GH_API_TOKEN: ${{ github.token }}
run: |
npm run build
touch public/.nojekyll
echo "seeking-maintainers.net" > CNAME
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: public