Skip to content

Commit 8a7fa7d

Browse files
authored
Merge pull request #62 from modelix/bugfix/publish-releases
Ensure new releaes trigger artifact publishing
2 parents 8bc37f9 + 94cec69 commit 8a7fa7d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '**'
7+
workflow_dispatch:
78

89
jobs:
910
newRelease:
@@ -40,4 +41,4 @@ jobs:
4041
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
4142
DOCKER_HUB_KEY: ${{ secrets.DOCKER_HUB_KEY }}
4243
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
run: ./docker-ci.sh
44+
run: ./docker-ci.sh

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: npm ci
4444
- name: Dry-run release
4545
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
4747
# We need to convince semantic-release to not pick up some
4848
# configuration from the CI environment by removing the variable that
4949
# is used for CI detection.
@@ -71,5 +71,5 @@ jobs:
7171
run: npm ci
7272
- name: Release
7373
env:
74-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
7575
run: npx semantic-release

0 commit comments

Comments
 (0)