Skip to content

hhh

hhh #27

name: Update File
on:
push:
branches:
- main # change this to your default branch
jobs:
update-file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
ref: argocd
- run: sed -i 's#harshakp06/numeric-app:.*#harshakp06/numeric-app:${{ github.sha }}#g' argocd/k8s_deployment_service.yaml
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "generated"
git push