Skip to content

Merge pull request #6402 from EnterpriseDB/mig-handbook/epas17-updates #4776

Merge pull request #6402 from EnterpriseDB/mig-handbook/epas17-updates

Merge pull request #6402 from EnterpriseDB/mig-handbook/epas17-updates #4776

name: Deploy Develop to Netlify
on:
push:
branches:
- develop
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-pages:
uses: ./.github/workflows/build-pages.yml
with:
ref: ${{ github.ref }}
sha: ${{ github.sha }}
secrets: inherit
build-pdfs:
uses: ./.github/workflows/build-pdfs.yml
with:
ref: ${{ github.ref }}
sha: ${{ github.sha }}
deploy-to-netlify:
needs: [build-pages, build-pdfs]
uses: ./.github/workflows/deploy-to-netlify.yml
with:
production: true
pages-cache-key: ${{ needs.build-pages.outputs.cache-key }}
pdf-cache-key: ${{ needs.build-pdfs.outputs.cache-key }}
enable-pull-request-comment: false
secrets:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEVELOP_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
report-failure:
needs: [deploy-to-netlify]
if: ${{ failure() }}
runs-on: ubuntu-22.04
steps:
- uses: act10ns/slack@v2
with:
status: ${{ needs.deploy-to-netlify.result }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}