cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.74.3

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 pages:
23 runs-on: ubuntu-latest
24 steps:
25 - name: Checkout
26 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27 with:
28 show-progress: false
29
30 - name: Setup Pages
31 uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
32
33 - name: Build with Jekyll
34 uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13
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@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
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: pages
50 steps:
51 - name: Deploy to GitHub Pages
52 id: deployment
53 uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
54