We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9dc64 commit cc62969Copy full SHA for cc62969
.github/workflows/preview.yml
@@ -0,0 +1,28 @@
1
+name: Deploy PR previews
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+ - closed
10
11
+concurrency: preview-${{ github.ref }}
12
13
+jobs:
14
+ deploy-preview:
15
+ runs-on: ubuntu-20.04
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v2
19
20
+ - name: Install and Build
21
+ run: |
22
+ npm ci
23
+ npm run build
24
25
+ - name: Deploy preview
26
+ uses: rossjrw/pr-preview-action@v1
27
+ with:
28
+ source-dir: ./build/
0 commit comments