diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e61346fa9..cf92af0a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,7 @@ jobs: with: ref: ${{ github.sha }} - name: Restore Cache + if: ${{ steps.tag.outputs.tag }} uses: actions/cache@v4 with: path: | @@ -58,6 +59,7 @@ jobs: 2.x-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}- 2.x-${{ hashFiles('blt/blt.yml') }}- - name: Deploy Tag + if: ${{ steps.tag.outputs.tag }} run: | git config --system --add safe.directory '*' && git config --global user.email "sws-developers@lists.stanford.edu" && @@ -65,4 +67,4 @@ jobs: ssh-keyscan -t rsa svn-45197.prod.hosting.acquia.com >> /root/.ssh/known_hosts && composer install -n && blt blt:telemetry:disable --no-interaction && - blt deploy --tag=$(date +'%Y-%m-%d')"_"${{ steps.tag.outputs.tag }} --commit-msg=${{ steps.tag.outputs.tag }} --no-interaction \ No newline at end of file + blt deploy --tag=$(date +'%Y-%m-%d')"_"${{ steps.tag.outputs.tag }} --commit-msg=${{ steps.tag.outputs.tag }} --no-interaction