Skip to content

Merge remote-tracking branch 'origin/dependabot/github_actions/action… #14

Merge remote-tracking branch 'origin/dependabot/github_actions/action…

Merge remote-tracking branch 'origin/dependabot/github_actions/action… #14

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches: [ main ]
paths:
- 'docs/**'
- '.github/workflows/pages.yaml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
- name: Notify success
if: success()
run: |
echo "✓ GitHub Pages deployed successfully!"
echo "URL: ${{ steps.deployment.outputs.page_url }}"