Skip to content

Commit 64022b4

Browse files
committed
feat: test releasing
1 parent a60fff3 commit 64022b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.semaphore/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ blocks:
1010
task:
1111
secrets:
1212
- name: semantic-release
13+
- name: docker-hub
1314
prologue:
1415
commands:
1516
- checkout

scripts/doc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -ex
44

55
# prepare docs
66
current_branch=`git rev-parse --abbrev-ref HEAD`
7-
branch_name="docs/$SEMAPHORE_BUILD_NUMBER"
7+
branch_name="docs"
88
git checkout -b $branch_name
99
cd ./schemas
1010
apidoc -i ../src/actions -v --debug -o ../docs
@@ -14,6 +14,6 @@ git config user.name "semaphore"
1414
touch ./docs/.nojekyll
1515
git add -f ./docs
1616
git status
17-
git commit -m "chore(docs-$SEMAPHORE_BUILD_NUMBER): updated remote public documentation"
17+
git commit -m "chore(docs): updated remote public documentation"
1818
git push origin `git subtree split --prefix docs $branch_name`:gh-pages --force
1919
git checkout $current_branch

0 commit comments

Comments
 (0)