We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2581cb7 commit 7632731Copy full SHA for 7632731
1 file changed
.github/workflows/preview.yml
@@ -0,0 +1,23 @@
1
+# .github/workflows/deploy.yml
2
+name: Deploy PR previews
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+jobs:
12
+ deploy-preview:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Deploy PR Preview
17
+ uses: rossjrw/pr-preview-action@v1.4.3
18
+ with:
19
+ token: ${{ secrets.PREVIEW_TOKEN }}
20
+ preview-branch: gh-pages
21
+ source-dir: .
22
+ umbrella-dir: pr-preview
23
+ action: auto
0 commit comments