Skip to content

Tweaks

Tweaks #918

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Runs every night at midnight UTC
jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: withastro/action@v2
deploy:
needs: build
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4