We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2348dc6 commit d7d838fCopy full SHA for d7d838f
1 file changed
.github/workflows/preview.yml
@@ -8,6 +8,11 @@ on:
8
- synchronize
9
- closed
10
11
+# Add permissions to allow the action to create deployments
12
+permissions:
13
+ pull-requests: write
14
+ contents: read
15
+
16
concurrency: preview-${{ github.ref }}
17
18
jobs:
@@ -20,4 +25,5 @@ jobs:
20
25
- name: Deploy preview
21
26
uses: rossjrw/pr-preview-action@v1
22
27
with:
23
- source-dir: ./
28
+ source-dir: ./
29
+ token: ${{ env.GITHUB_TOKEN }}
0 commit comments