Skip to content

When refreshing on anything but the root page (when in GH pages) redi… #10

When refreshing on anything but the root page (when in GH pages) redi…

When refreshing on anything but the root page (when in GH pages) redi… #10

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
[fix-bug-refresh-redirects-to-github-404]
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
concurrency: ci-${{github.ref}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install and Build
run: |
npm ci
npm run build:gh-pages
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/team-app
branch: gh-pages