Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 6067a11

Browse files
alpha release workflow
1 parent ca9d4cd commit 6067a11

File tree

1 file changed

+3
-31
lines changed

1 file changed

+3
-31
lines changed

.github/workflows/release-alpha.yml

+3-31
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
build_number:
77
type: string
88
description: build number in format 'nnn'
9+
required: true
910
env:
1011
# DEBUG_FLAG: ${{ true }}
1112
DEBUG_FLAG: ${{ false }}
@@ -62,37 +63,8 @@ jobs:
6263
run: |
6364
export NODE_AUTH_TOKEN=${{ secrets.NPM_TOKEN }}
6465
cd "$GITHUB_WORKSPACE/${RELEASE_DIR}"
65-
./release.sh
66-
67-
- name: "docs:setup python"
68-
uses: actions/setup-python@v2
69-
with:
70-
python-version: 3.8
71-
72-
- name: "docs:install dependencies"
73-
run: |
74-
python -m pip install --upgrade pip
75-
pip install -r docs/devel/docs.requirements.txt
76-
77-
- name: "docs:make"
78-
run: |
79-
cd docs
80-
./make.sh
81-
82-
- name: "docs: publish to gh-pages"
83-
run: |
84-
git fetch origin gh-pages
85-
git worktree add gh-pages gh-pages
86-
date > generated.txt
87-
git config user.name github-actions
88-
git config user.email [email protected]
89-
rsync -av ./docs/build/html/ gh-pages/
90-
cd gh-pages
91-
git add -A
92-
git commit --allow-empty -F ../generated.txt
93-
# git push -f -u origin gh-pages
94-
git push -u origin gh-pages
95-
66+
export APIM_RELEASE_APLPHA_BUILD_NUM=${{ github.event.inputs.build_number }}
67+
./release-alpha.sh
9668
9769
###
9870
# The End.

0 commit comments

Comments
 (0)