Skip to content

Commit

Permalink
edzyaml test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadesh619 committed Jan 7, 2024
1 parent 6cc2cd7 commit 7ae9a6a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,14 @@ jobs:
# git push

# using custom action
- uses: Aadeshkale/edzyaml@main
- name: using edzyaml for pass value to remote repo yaml file
uses: Aadeshkale/edzyaml@main
with:
file_path: "./"
file_name: deployment.yaml
yaml_key: 'spec.template.spec.containers.0.image'
yaml_value: welcome-app:${{ env.IMG_TAG }}
- name: result check
run: |
echo "see file content changed or not :)"
pwd
ls -la
cat deployment.yaml
git_username: Aadeshkale
git_user_email: [email protected]
git_repo: Aadeshkale/kube-cd
git_token: ${{ secrets.git_token }}
yaml_file_path: deployment.yaml
yaml_key_path: 'spec.template.spec.containers.0.image'
yaml_value: welcome-app:${{ env.IMG_TAG }}

0 comments on commit 7ae9a6a

Please sign in to comment.