Skip to content

Merge pull request #1109 from cloudflare/dependabot/go_modules/tools/… #1583

Merge pull request #1109 from cloudflare/dependabot/go_modules/tools/…

Merge pull request #1109 from cloudflare/dependabot/go_modules/tools/… #1583

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