chore: update umami #188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
env: | |
CI: true | |
- name: Install Packages | |
run: npm ci | |
- name: Build prod | |
run: npm run build:prod --if-present | |
- name: Deploy to Github Pages | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
build_dir: dist/developerli | |
fqdn: developer.li | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |