Skip to content

Commit 2d811fb

Browse files
authored
chore: allow fork pr deployment for test pages (#236)
* chore: allow fork pr deployment for test pages * fix: add permission to deploy fork preview workflow
1 parent b443781 commit 2d811fb

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/build-lint-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ jobs:
3131
secrets: inherit
3232
with:
3333
artifact-name: dev-pages
34-
deployment-path: dist
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy fork preview
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Build, lint and test"]
6+
types:
7+
- completed
8+
9+
permissions:
10+
id-token: write
11+
actions: read
12+
contents: read
13+
deployments: write
14+
15+
jobs:
16+
fork-preview:
17+
uses: cloudscape-design/actions/.github/workflows/deploy-fork-preview.yml@main
18+
secrets: inherit
19+
with:
20+
artifact-name: dev-pages

0 commit comments

Comments
 (0)