Skip to content

Preserve Smart Dispatch during Octopus throttling #52

Preserve Smart Dispatch during Octopus throttling

Preserve Smart Dispatch during Octopus throttling #52

Workflow file for this run

name: Build and deploy GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run check
- run: |
mkdir _site
cp dist/Octopus_IGO_Smart_Charging_Detector.html _site/index.html
cp linux/octopus-foxess.svg _site/octopus-foxess.svg
cp src/site.webmanifest _site/site.webmanifest
cp -R src/icons _site/icons
- uses: actions/upload-pages-artifact@v3
with:
path: _site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4