We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dab094e commit 389206cCopy full SHA for 389206c
.github/workflows/preview.yml
@@ -0,0 +1,23 @@
1
+name: Deploy Preview site
2
+
3
+on:
4
+ push:
5
+ branches: ["preview"]
6
7
+ # Allows you to run this workflow manually from the Actions tab ?
8
+ workflow_dispatch:
9
10
+ repository_dispatch:
11
+ types: [trigger-workflow]
12
13
+jobs:
14
+ trigger:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Trigger preview deployment
18
+ run: |
19
+ curl -X POST \
20
+ -H "Accept: application/vnd.github.v3+json" \
21
+ -H "Authorization: token ${{ secrets.PAT }}" \
22
+ https://api.github.com/repos/Language-Technology-Assessment/preview/actions/workflows/preview.yml/dispatches \
23
+ -d '{"ref":"main"}'
.github/workflows/generate.yml .github/workflows/publish.yml.github/workflows/generate.yml renamed to .github/workflows/publish.yml
0 commit comments