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 b0d4c4e commit cffe8ecCopy full SHA for cffe8ec
.changeset/tasty-bears-do.md
@@ -0,0 +1,5 @@
1
+---
2
+"openscript-ch-website": patch
3
4
+
5
+Use pull request target to trigger deployment
.github/workflows/publish.yaml
@@ -1,15 +1,15 @@
name: Publish
on:
- pull_request:
+ pull_request_target:
types:
6
- closed
7
branches:
8
- master
9
10
jobs:
11
publish:
12
- if: github.event.pull_request.merged == true && github.head_ref == 'changeset-release/master'
+ if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'changeset-release/master'
13
14
runs-on: ubuntu-latest
15
steps:
0 commit comments