Skip to content

Commit e8219f2

Browse files
committed
Update Helm values image tag handling and modify application title in index.html
1 parent 746462d commit e8219f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,8 @@ jobs:
8080
git config --local user.name "GitHub Action"
8181
git add helm/values.yaml
8282
git commit -m "Update image tag to ${{ inputs.image-tag || github.sha }}" || exit 0
83-
git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
83+
git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
84+
85+
- name: Get Application URL
86+
run: |
87+
echo "Application URL: http://$(kubectl get svc solar-system-svc -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')"

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
padding: 20px;" placeholder="Enter a number(0 - 8) to view the planets"/>
8989
</div>
9090
<div class="middle">
91-
<h1 style="color:rgb(247, 145, 95); font-family: 'Encode Sans';" id="planetName"> Solar System </h1>
91+
<h1 style="color:rgb(247, 145, 95); font-family: 'Encode Sans';" id="planetName"> Solar System v2 </h1>
9292
</div>
9393
<div class="bottomleft">
9494
<p style="color:rgb(224, 224, 224); font-family: 'Ubuntu';" id="planetDescription"> Solar system consists of our star, the Sun, and everything bound to it by gravity – <br> the planets Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune; <br> dwarf planets such as Pluto; dozens of moons; and millions <br> of asteroids, comets, and meteoroids.</p>

0 commit comments

Comments
 (0)