Skip to content

⬆️ Update plausible-tracker, enable hash mode #287

⬆️ Update plausible-tracker, enable hash mode

⬆️ Update plausible-tracker, enable hash mode #287

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
paths:
- 'src/**'
- 'static/**'
- 'package-lock.json'
- 'svelte.config.js'
- 'tsconfig.json'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Upgrade npm 🎉
run: sudo npm i -g npm@7 --registry=https://registry.npmjs.org
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build