Skip to content

ai code to test webpage #8

ai code to test webpage

ai code to test webpage #8

Workflow file for this run

name: Build and Deploy Webpage
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build-github-docs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install build deps
run: pip install -r requirements.txt
- name: Build web bundle
run: python -m pygbag --build .
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/web
deploy:
needs: build-github-docs
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4