Skip to content

Static Site CI

Static Site CI #208

Workflow file for this run

name: Static Site CI
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
repository_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
release:
name: Build and deploy status website
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: upptime/uptime-monitor@v1.43.1
with:
command: "site"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-pages-artifact@v5
with:
path: ./site/status-page/__sapper__/export
- uses: actions/deploy-pages@v5
id: deployment