cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.63.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/pages.yml

53lines · modecode

1name: Deploy GitHub Pages
2
3on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10 workflow_dispatch:
11
12permissions:
13 contents: read
14 pages: write
15 id-token: write
16
17concurrency:
18 group: pages-${{ github.workflow }}-${{ github.ref }}
19 cancel-in-progress: true
20
21jobs:
22 build:
23 runs-on: ubuntu-latest
24 steps:
25 - name: Checkout
26 uses: actions/checkout@v4
27 with:
28 show-progress: false
29
30 - name: Setup Pages
31 uses: actions/configure-pages@v5
32
33 - name: Build with Jekyll
34 uses: actions/jekyll-build-pages@v1.0.12
35 with:
36 source: ./docs
37 destination: ./_site
38
39 - name: Upload artifact
40 if: github.event_name != 'pull_request'
41 uses: actions/upload-pages-artifact@v3
42
43 deploy:
44 if: github.event_name != 'pull_request'
45 environment:
46 name: github-pages
47 url: ${{ steps.deployment.outputs.page_url }}
48 runs-on: ubuntu-latest
49 needs: build
50 steps:
51 - name: Deploy to GitHub Pages
52 id: deployment
53 uses: actions/deploy-pages@v4
54