Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/pages-wizard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: pages-wizard

on:
push:
branches:
- main
paths:
- content/wizard/**
- content/scripts/generate-wizard-version.sh
- version.properties
- .github/workflows/publish.yml
- .github/workflows/pages-wizard.yml
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages-wizard
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Generate wizard version.json
run: ./content/scripts/generate-wizard-version.sh

- name: Configure Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: content/wizard

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading