Skip to content

Merge pull request #1077 from cloudflare/dependabot/go_modules/github… #1511

Merge pull request #1077 from cloudflare/dependabot/go_modules/github…

Merge pull request #1077 from cloudflare/dependabot/go_modules/github… #1511

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:
build:
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: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4