Skip to content

add firebase tracking #5

add firebase tracking

add firebase tracking #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Get files
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: npm ci
- name: Build project
run: npm run build
- name: Add .nojekyll file
run: touch ./dist/.nojekyll
- name: Create 404 file
run: cp dist/index.html dist/404.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist