mirror of
https://github.com/antos-rde/antos.git
synced 2024-12-26 13:38:23 +01:00
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
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:
parent
76dc81a8a4
commit
274f959ae2
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user