Skip to content

Merge pull request #368 from TheHive-Project/367-align-upload-and-dow… #140

Merge pull request #368 from TheHive-Project/367-align-upload-and-dow…

Merge pull request #368 from TheHive-Project/367-align-upload-and-dow… #140

Workflow file for this run

name: cicd
on:
push:
branches:
- main
tags:
- "*"
pull_request:
jobs:
static-checks:
uses: ./.github/workflows/_static-checks.yml
integration-tests:
uses: ./.github/workflows/_integration-tests.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build-package:
uses: ./.github/workflows/_build-package.yml
build-docs:
uses: ./.github/workflows/_build-docs.yml
deploy-docs:
if: startsWith(github.ref, 'refs/heads/main')
uses: ./.github/workflows/_deploy-docs.yml
needs: [build-docs, build-package, integration-tests, static-checks]
upload-package:
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/_upload-package.yml
needs: [build-docs, build-package, integration-tests, static-checks]
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}