forked from microsoft/pg_durable
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.06 KB
/
Copy pathpages.yml
File metadata and controls
42 lines (35 loc) · 1.06 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
name: Deploy website to GitHub Pages
on:
push:
branches: [main]
paths:
- 'docs/website/**'
- '.github/workflows/pages.yml'
workflow_dispatch:
# Allow the GITHUB_TOKEN to deploy to Pages.
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment; skip queued runs in between.
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Configure Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- name: Upload website artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: docs/website
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5