-
Notifications
You must be signed in to change notification settings - Fork 1.4k
30 lines (28 loc) · 824 Bytes
/
deploy.yml
File metadata and controls
30 lines (28 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- gh-pages
jobs:
deploy:
concurrency:
group: "pages"
cancel-in-progress: false
runs-on: ubuntu-latest
permissions:
pages: write # to deploy to GitHub Pages
id-token: write # to verify that the deployment source is legit
issues: write # to open tickets upon broken links
environment:
name: github-pages
url: ${{ steps.deploy.outputs.url }}
steps:
- uses: actions/checkout@v6
- name: deploy to GitHub Pages
id: deploy
uses: ./.github/actions/deploy-to-github-pages
with:
cloudflare-token: ${{ secrets.CLOUDFLARE_TOKEN }}
cloudflare-zone: ${{ secrets.CLOUDFLARE_ZONE }}
external-https: ${{ vars.EXTERNAL_HTTPS }}