cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.36.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/pages.yml

51lines · 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@v3
27
28 - name: Setup Pages
29 uses: actions/configure-pages@v2
30
31 - name: Build with Jekyll
32 uses: actions/jekyll-build-pages@v1.0.6
33 with:
34 source: ./docs
35 destination: ./_site
36
37 - name: Upload artifact
38 if: github.event_name != 'pull_request'
39 uses: actions/upload-pages-artifact@v1
40
41 deploy:
42 if: github.event_name != 'pull_request'
43 environment:
44 name: github-pages
45 url: ${{ steps.deployment.outputs.page_url }}
46 runs-on: ubuntu-latest
47 needs: build
48 steps:
49 - name: Deploy to GitHub Pages
50 id: deployment
51 uses: actions/deploy-pages@v1
52