Skip to content

new ver of deploy

new ver of deploy #15

Workflow file for this run

name: Publish GH pages
on:
push:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Force Node version
uses: actions/setup-node@v4
with:
node-version: 14
- name: Install and Build 🔧
run: |
npm install
npm run build:live
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
folder: dist/nano-vote-visualizer