File tree Expand file tree Collapse file tree 4 files changed +52
-31
lines changed Expand file tree Collapse file tree 4 files changed +52
-31
lines changed Original file line number Diff line number Diff line change 1+ name : Publish app to production
2+ run-name : Publish app to production
3+ on : workflow_dispatch
4+ jobs :
5+ Supervisely-Release :
6+ uses : supervisely-ecosystem/workflows/.github/workflows/common.yml@master
7+ secrets :
8+ SUPERVISELY_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_DEV_API_TOKEN }}"
9+ SUPERVISELY_PRIVATE_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_PRIVATE_DEV_API_TOKEN }}"
10+ SUPERVISELY_PROD_API_TOKEN : " ${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
11+ GH_ACCESS_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
12+ with :
13+ SUPERVISELY_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
14+ SUPERVISELY_PROD_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
15+ SLUG : " ${{ github.repository }}"
16+ RELEASE_VERSION : " "
17+ RELEASE_DESCRIPTION : " "
18+ RELEASE_TYPE : " publish"
19+ SUBAPP_PATHS : " __ROOT_APP__"
Original file line number Diff line number Diff line change 1- name : Supervisely release
2- run-name : Supervisely ${{ github.repository }} app release
1+ name : Release
2+ run-name : Release version " ${{ github.event.release.tag_name }}"
33on :
44 release :
55 types : [published]
88 - master
99jobs :
1010 Supervisely-Release :
11+ if : " !github.event.release.prerelease"
1112 uses : supervisely-ecosystem/workflows/.github/workflows/common.yml@master
1213 secrets :
13- SUPERVISELY_API_TOKEN : " ${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
14+ SUPERVISELY_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_DEV_API_TOKEN }}"
15+ SUPERVISELY_PRIVATE_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_PRIVATE_DEV_API_TOKEN }}"
16+ SUPERVISELY_PROD_API_TOKEN : " ${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
1417 GH_ACCESS_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
1518 with :
16- SUPERVISELY_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
19+ SUPERVISELY_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_DEV_SERVER_ADDRESS }}"
20+ SUPERVISELY_PROD_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
1721 SLUG : " ${{ github.repository }}"
1822 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+ RELEASE_DESCRIPTION : " ${{ github.event.release.name }}"
24+ RELEASE_TYPE : " release"
2325 SUBAPP_PATHS : " __ROOT_APP__"
Original file line number Diff line number Diff line change 1+ name : Release branch
2+ run-name : Release "${{ github.ref_name }}" branch
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+ - master
8+ jobs :
9+ Supervisely-Release :
10+ uses : supervisely-ecosystem/workflows/.github/workflows/common.yml@master
11+ secrets :
12+ SUPERVISELY_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_DEV_API_TOKEN }}"
13+ SUPERVISELY_PRIVATE_DEV_API_TOKEN : " ${{ secrets.SUPERVISELY_PRIVATE_DEV_API_TOKEN }}"
14+ SUPERVISELY_PROD_API_TOKEN : " ${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
15+ GH_ACCESS_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
16+ with :
17+ SUPERVISELY_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_DEV_SERVER_ADDRESS }}"
18+ SUPERVISELY_PROD_SERVER_ADDRESS : " ${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
19+ SLUG : " ${{ github.repository }}"
20+ RELEASE_VERSION : " ${{ github.ref_name }}"
21+ RELEASE_DESCRIPTION : " '${{ github.ref_name }}' branch release"
22+ RELEASE_TYPE : " release-branch"
23+ SUBAPP_PATHS : " __ROOT_APP__"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments