F72744 cocohelper issues (#26) #10
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: Production Pipeline | |
on: | |
push: | |
branches: | |
- master # Run when pushed to master | |
workflow_dispatch: | |
# Allows you to run these workflows manually from the Actions tab | |
jobs: | |
########### Release and Publish | |
release-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: check version | |
id: check_version | |
uses: ./.github/actions/check-version-poetry | |
- name: release | |
uses: ./.github/actions/release-poetry | |
if: ${{ steps.check_version.outputs.is_released == 'false'}} | |
with: | |
tag_name: ${{ steps.check_version.outputs.version }} | |
# pypy_pwd: ${{ secrets.PYPY_PASSWORD }} | |
# cicd_token: ${{ secrets.CICD_TOKEN}} | |
########### Publish documentation | |
doc-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: doc build | |
uses: ./.github/actions/doc-deploy | |
with: | |
cicd_token: ${{ secrets.CICD_TOKEN}} |