Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Update release-alpha.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mvktsk authored Oct 29, 2020
1 parent e2b8f89 commit e4bc79a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Release alpha

on:
workflow_dispatch:
pull_request_review:
types:
- submitted

jobs:
ci:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,7 +32,7 @@ jobs:
id: image

- name: Add version suffix
uses: VirtoCommerce/vc-github-actions/add-version-suffix@VP-5059
uses: VirtoCommerce/vc-github-actions/add-version-suffix@master

- name: SonarCloud Begin
uses: VirtoCommerce/vc-github-actions/sonar-scanner-begin@master
Expand All @@ -54,7 +52,7 @@ jobs:
- name: Build Docker Image
# if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' }}
id: dockerBuild
uses: VirtoCommerce/vc-github-actions/build-docker-image@VP-5059
uses: VirtoCommerce/vc-github-actions/build-docker-image@master
with:
imageName: "demo-storefront"
tag: ${{ steps.image.outputs.taggedVersion }}
Expand All @@ -71,7 +69,7 @@ jobs:

- name: Publish Docker Image
# if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' }}
uses: VirtoCommerce/vc-github-actions/publish-docker-image@VP-5059
uses: VirtoCommerce/vc-github-actions/publish-docker-image@master
with:
image: ${{ steps.dockerBuild.outputs.imageName }}
tag: ${{ steps.image.outputs.taggedVersion }}
Expand All @@ -86,24 +84,24 @@ jobs:
# - name: Publish to Blob
# if: ${{ github.ref == 'refs/heads/dev' }}
# id: blobRelease
# uses: VirtoCommerce/vc-github-actions/publish-blob-release@VP-5059
# uses: VirtoCommerce/vc-github-actions/publish-blob-release@master
# with:
# blobSAS: ${{ secrets.BLOB_TOKEN }}

# - name: Publish Github Release
# if: ${{ github.ref == 'refs/heads/master' }}
# with:
# changelog: ${{ steps.changelog.outputs.changelog }}
# uses: VirtoCommerce/vc-github-actions/publish-github-release@VP-5059
# uses: VirtoCommerce/vc-github-actions/publish-github-release@master

# - name: Setup Git Credentials
# if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master'}}
# uses: VirtoCommerce/vc-github-actions/setup-git-credentials-github@VP-5059
# uses: VirtoCommerce/vc-github-actions/setup-git-credentials-github@master
# with:
# githubToken: ${{ secrets.REPO_TOKEN }}

# - name: Publish Manifest
# if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master'}}
# uses: VirtoCommerce/vc-github-actions/publish-manifest@VP-5059
# uses: VirtoCommerce/vc-github-actions/publish-manifest@master
# with:
# packageUrl: ${{ steps.blobRelease.outputs.packageUrl }}
# packageUrl: ${{ steps.blobRelease.outputs.packageUrl }}

0 comments on commit e4bc79a

Please sign in to comment.