Skip to content

Added token for access #3

Added token for access

Added token for access #3

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master # Set to your default branch.
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # Set to your Node.js version
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.