[ci] Trigger website deploy on new release-data build

This triggers a new build, but only on commits to the main branch.
This commit is contained in:
Nemo
2022-12-17 16:16:26 +05:30
committed by Nemo
parent 3ce751f298
commit 1745448707

16
.github/workflows/trigger-deploy.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
# This is triggered on every push to the main branch
# and triggers a new deploy on the eol website.
name: Trigger Deploy to the endoflife.date website
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy Website
runs-on: ubuntu-latest
environment: production
steps:
- name: Trigger Deploy on Netlify
run:
curl -X POST -d {} "$NETLIFY_BUILD_HOOK_URL"