Skip to content

Commit

Permalink
Add release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiPetukhov authored Jun 24, 2023
1 parent c22b18d commit a663d9e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Supervisely release
run-name: Supervisely ${{ github.repository }} app release
on:
release:
types: [published]
branches:
- main
- master
jobs:
Supervisely-Release:
uses: supervisely-ecosystem/workflows/.github/workflows/common.yml@master
secrets:
SUPERVISELY_API_TOKEN: "${{ secrets.SUPERVISELY_PROD_API_TOKEN }}"
GH_ACCESS_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
SUPERVISELY_SERVER_ADDRESS: "${{ vars.SUPERVISELY_PROD_SERVER_ADDRESS }}"
SLUG: "${{ github.repository }}"
RELEASE_VERSION: "${{ github.event.release.tag_name }}"
RELEASE_TITLE: "${{ github.event.release.name }}"
SUBAPP_PATHS: "serve/serve"

0 comments on commit a663d9e

Please sign in to comment.