Skip to content

Commit 92477f2

Browse files
Add release workflow for prod
1 parent 32bc100 commit 92477f2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Supervisely release
2+
run-name: Supervisely ${{ github.repository }} app release
3+
on:
4+
release:
5+
types: [published]
6+
branches:
7+
- main
8+
- master
9+
jobs:
10+
Supervisely-Release:
11+
uses: supervisely-ecosystem/workflows/.github/workflows/common.yml@master
12+
secrets:
13+
SUPERVISELY_API_TOKEN: "${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
14+
GH_ACCESS_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
15+
with:
16+
SUPERVISELY_SERVER_ADDRESS: "${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
17+
SLUG: "${{ github.repository }}"
18+
RELEASE_VERSION: "${{ github.event.release.tag_name }}"
19+
RELEASE_TITLE: "${{ github.event.release.name }}"
20+
IGNORE_SLY_RELEASES: 1
21+
RELEASE_WITH_SLUG: 1
22+
CHECK_PREV_RELEASES: 1
23+
SUBAPP_PATHS: "__ROOT_APP__"

0 commit comments

Comments
 (0)