Skip to content

Merge pull request #28 from WorldHealthOrganization/main #13

Merge pull request #28 from WorldHealthOrganization/main

Merge pull request #28 from WorldHealthOrganization/main #13

Workflow file for this run

name: Release build
on:
push:
branches:
- release-candidate
pull_request:
branches:
- release-candidate
jobs:
check:
runs-on: ubuntu-latest
outputs:
file_exists: ${{ steps.checkfile.outputs.exists }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check for publication-request.json
id: checkfile
run: |
if [[ -f "publication-request.json" ]]; then
echo "::set-output name=exists::true"
else
echo "::set-output name=exists::false"
fi
trigger:
needs: check
if: needs.check.outputs.file_exists == 'true'
uses: WorldHealthOrganization/smart-html/.github/workflows/release.yml@main