File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11+ outputs :
12+ docs-version : ${{ steps.docs-version.outputs.version }}
1113 runs-on : ubuntu-latest
1214 permissions :
1315 contents : read
3638 path : dist
3739 retention-days : 1
3840
41+ - name : Export version for site docs
42+ id : docs-version
43+ run : ./ci-scripts/docs-version.sh >> "$GITHUB_OUTPUT"
44+
45+
3946 publish :
4047 runs-on : ubuntu-latest
4148 needs : build
6471 # ###############################
6572 with :
6673 repository-url : https://test.pypi.org/legacy/
74+
75+ site :
76+ needs : build
77+ uses : ./.github/workflows/reusable-github-pages.yml
78+ with :
79+ site-version : " ${{needs.build.outputs.docs-version.version}}"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ VERSION=$( poetry version -s)
4+ SEMVER=( ${VERSION// ./ } )
5+ echo " version=${SEMVER[0]} .${SEMVER[1]} "
You can’t perform that action at this time.
0 commit comments