Skip to content

refactor & bug fixed (#915) #399

refactor & bug fixed (#915)

refactor & bug fixed (#915) #399

Workflow file for this run

name: Github Pages deploy
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
env:
PUBLIC_BASE_PATH: /Thecyberhub.org
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.