Files
endoflife-date-release-data/.github/workflows/trigger-deploy.yml
2022-12-20 15:07:08 +05:30

19 lines
452 B
YAML

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