feat(ci): publishing doc on tagging
All checks were successful
AntOS pipeline / build-arm64 (push) Successful in 5m44s
AntOS pipeline / build-amd64 (push) Successful in 5m47s
AntOS pipeline / build-arm (push) Successful in 5m44s
AntOS pipeline / publish-doc-on-tag (push) Has been skipped
AntOS pipeline / publish-package-on-tag (push) Has been skipped

This commit is contained in:
Dany LE 2024-07-25 23:24:46 +02:00 committed by GitHub
parent 76dc81a8a4
commit 274f959ae2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,24 @@ jobs:
with: with:
platform: arm platform: arm
publish-on-tag: publish-doc-on-tag:
runs-on: act-runner
if: gitea.event_name == 'push' && contains(gitea.ref, 'refs/tags/')
needs:
container:
image: iohubdev/ci-tools:latest
volumes:
- /opt/public/antos-release/:/public/
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: mkdir -p build
- name: Build and publish doc and SDK
run: |
DOCDIR=/public/doc/ make doc
SDKDIR=/public/sdk/ make sdk
publish-package-on-tag:
runs-on: act-runner runs-on: act-runner
if: gitea.event_name == 'push' && contains(gitea.ref, 'refs/tags/') if: gitea.event_name == 'push' && contains(gitea.ref, 'refs/tags/')
needs: [build-amd64, build-arm64, build-arm] needs: [build-amd64, build-arm64, build-arm]