File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,15 @@ jobs:
130130 git push origin ${{ github.ref_name }} --force
131131 - name: Check health of google.com
132132 id: health
133- run: |
134- status=$(curl -s -o /dev/null -w "%{http_code}" https://www.google.com)
135- echo "HTTP status: $status"
136- echo "status=$status" >> $GITHUB_OUTPUT
133+ run: |
134+ sleep 60
135+ status=$(curl -s -o /dev/null -w "%{http_code}" https://www.google.com)
136+ echo "HTTP status: $status"
137+ echo "status=$status" >> $GITHUB_OUTPUT
137138 - name: Extract previous image from git diff
138139 id: image_diff
139140 run: |
140- git fetch origin main
141+ git fetch origin ${{ github.ref_name }}
141142 # Show diff against last committed state
142143 OLD_IMAGE=$(git diff origin/main -- deployment.yml | grep '^-' | grep 'image:' | awk '{print $2}')
143144 echo "Old image was: $OLD_IMAGE"
You can’t perform that action at this time.
0 commit comments