Fixed naming of the cluster so that the autoscaling group correctly c… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for tags | |
on: push | |
jobs: | |
check-tag: | |
runs-on: stable | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Check for Tag | |
run: | | |
if [ $(git tag -l "stage-1") ]; then | |
echo "Stage 1 is already tagged" | |
else | |
echo "Stage 1 is not tagged" | |
exit 1 | |
fi |