Skip to content

Show the current user agent for easier platform checks #8

Show the current user agent for easier platform checks

Show the current user agent for easier platform checks #8

Workflow file for this run

name: Publish
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Clean
run: rm -rf dist
- name: Install
run: npm ci
- name: Install
run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: dist
publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4