Skip to content

Merge pull request #1118 from cloudflare/dependabot/github_actions/ro… #1593

Merge pull request #1118 from cloudflare/dependabot/github_actions/ro…

Merge pull request #1118 from cloudflare/dependabot/github_actions/ro… #1593

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/[email protected]
with:
source: ./docs
destination: ./_site
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
deploy:
if: github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: pages
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4