run black and build docs. In general I should make a GH site hosting … #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
call-workflow1: | |
name: tests | |
uses: ./.github/workflows/test.yml | |
secrets: | |
ADS_API_KEY: ${{ secrets.ADS_API_KEY }} | |
call-workflow2: | |
needs: call-workflow1 | |
name: docs | |
uses: ./.github/workflows/docs.yml | |
print: | |
needs: [call-workflow1] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "${{ needs.call-workflow1 }}" |