Skip to content

Implement to-be-closed variables #54

Implement to-be-closed variables

Implement to-be-closed variables #54

Workflow file for this run

# Copyright 2024 The zb Authors
# SPDX-License-Identifier: MIT
name: GitHub Pages
on:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: website/
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
needs:
- build
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4