Skip to content

Merge branch 'preview' #97

Merge branch 'preview'

Merge branch 'preview' #97

Workflow file for this run

name: Publish with latest database
on:
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab ?
workflow_dispatch:
repository_dispatch:
types: [trigger-workflow]
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger preview deployment
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PAT }}" \
https://api.github.com/repos/Language-Technology-Assessment/website/actions/workflows/publish.yml/dispatches \
-d '{"ref":"main"}'