Bump nanoid from 3.3.7 to 3.3.8 (#36) #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
pull_request: | |
push: | |
branches: | |
- gh-pages | |
- main | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js '12.x' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "12.x" | |
- run: npm install | |
- run: export NODE_ENV=ghpages && npm run build | |
- run: cd public && ln -s index.html 404.html # symlink for GH pages fallback | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: public |