Files
vjailbreak/.github/workflows/deploy_gh_page.yaml
T
OmkarDeshpande7andClaude Sonnet 5 6ef6e413d9 fix: remove dead Swagger UI generation steps from Pages workflow
Steps referenced scripts/generate_all_openapi.sh and
scripts/generate_swagger_links.sh, which don't exist in this repo
(copied over from platform9/vjailbreak's workflow). This made the
build job fail on every run, so Pages fell back to serving whatever
was last manually committed to gh-pages instead of a fresh build.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-12 22:57:39 +05:30

49 lines
1.3 KiB
YAML

name: Deploy Docs
on:
# Trigger the workflow every time you push to the `gh-pages` branch
# Using a different branch name? Replace `gh-pages` with your branch's name
push:
branches: [ gh-pages ]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
inputs:
branch:
description: 'Branch to use'
required: true
default: 'gh-pages'
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install, build, and upload your site
env:
SITE_URL: ${{ env.SITE_URL }}
BASE: ${{ github.event.repository.name }}
uses: withastro/action@v4
with:
path: docs/ # The root location of your Astro project inside the repository. (optional)
deploy:
needs: build
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