Skip to content

update status budge #583

update status budge

update status budge #583

name: update status budge
on:
workflow_dispatch:
schedule:
- cron: "0 15 * * *"
jobs:
update-lighthouse-budge:
runs-on: ubuntu-latest
env:
output-folder: lighthouse
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ./.node-version
cache: npm
- name: create lightouse budge
run: |
npx lighthouse-badges \
--url https://napochaan.com \
--save-report \
--output-path=${{ env.output-folder }}
- name: deploy lighthouse status
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ${{ env.output-folder }}
target-folder: ${{ env.output-folder }}