diff --git a/.github/workflows/devui-ci.yml b/.github/workflows/devui-ci.yml index 5a4c5d9..657945e 100644 --- a/.github/workflows/devui-ci.yml +++ b/.github/workflows/devui-ci.yml @@ -70,6 +70,11 @@ jobs: if: github.ref == 'refs/heads/main' run: aws s3 sync build s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/current --delete + - name: Get tag version + id: get_tag_version + if: startsWith(github.ref, 'refs/tags/') + run: echo ::set-output name=VERSION_TAG::${GITHUB_REF#refs/tags/} + - name: 'Prepare safe-apps-developer-ui for deploy to Production' if: startsWith(github.ref, 'refs/tags/v') run: aws s3 sync build s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete @@ -80,4 +85,4 @@ jobs: env: PROD_DEPLOYMENT_HOOK_TOKEN: ${{ secrets.PROD_DEPLOYMENT_HOOK_TOKEN }} PROD_DEPLOYMENT_HOOK_URL: ${{ secrets.PROD_DEPLOYMENT_HOOK_URL }} - VERSION_TAG: ${{ steps.get_devui_version.outputs.VERSION }} + VERSION_TAG: ${{ steps.get_tag_version.outputs.VERSION_TAG }}