Skip to content

#1437 Geo endpoint #1672

#1437 Geo endpoint

#1437 Geo endpoint #1672

Workflow file for this run

name: 'CI On Push'
on:
workflow_dispatch:
push:
# ignore branches using the CD workflow
branches-ignore:
- master
- staging
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
prepare:
name: 'Prepare'
uses: rfcx/cicd/.github/workflows/notify-prepare.yaml@master
with:
repo: biodiversity-analytics
workflow-id: ci-on-push.yaml
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
name: 'Build'
uses: ./.github/workflows/reusable-build.yaml
with:
runs-on: ubuntu-20.04
notify:
name: 'Notify'
if: ${{ always() }}
needs: [prepare, build]
uses: rfcx/cicd/.github/workflows/notify-send.yaml@master
with:
repo: biodiversity-analytics
branch-name: ${{ needs.prepare.outputs.branch-name }}
workflow-id: ci-on-push.yml
previous-run-id: ${{ needs.prepare.outputs.previous-run-id }}
status: ${{ needs.build.result }}
notification-title: 'CI: Bio Build-Lint-Test'
notification-footer: "Build: ${{ needs.build.outputs.build-outcome || 'n/a' }} | Lint: ${{ needs.build.outputs.lint-outcome || 'n/a' }} | Unit Test: ${{ needs.build.outputs.test-outcome || 'n/a' }}"
secrets:
slack-webhook: ${{ secrets.SLACK_ALERT_ARBIMON_WEBHOOK }}
github-token: ${{ secrets.GITHUB_TOKEN }}