Skip to content

Commit

Permalink
add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
cxnt committed Oct 31, 2023
1 parent 712c8da commit 5a65fe3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
run-name: Release version "${{ github.event.release.tag_name }}"
on:
release:
types: [published]
branches:
- main
- master
jobs:
Supervisely-Release:
if: "!github.event.release.prerelease"
uses: supervisely-ecosystem/workflows/.github/workflows/common.yml@master
secrets:
SUPERVISELY_DEV_API_TOKEN: "${{ secrets.SUPERVISELY_DEV_API_TOKEN }}"
SUPERVISELY_PRIVATE_DEV_API_TOKEN: "${{ secrets.SUPERVISELY_PRIVATE_DEV_API_TOKEN }}"
SUPERVISELY_PROD_API_TOKEN: "${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
GH_ACCESS_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
SUPERVISELY_SERVER_ADDRESS: "${{ vars.SUPERVISELY_DEV_SERVER_ADDRESS }}"
SUPERVISELY_PROD_SERVER_ADDRESS: "${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
SLUG: "${{ github.repository }}"
RELEASE_VERSION: "${{ github.event.release.tag_name }}"
RELEASE_DESCRIPTION: "${{ github.event.release.name }}"
RELEASE_TYPE: "release"
SUBAPP_PATHS: "__ROOT_APP__"

0 comments on commit 5a65fe3

Please sign in to comment.