Skip to content

Merge pull request #84 from nagoya-caravan/feature/#71 #1

Merge pull request #84 from nagoya-caravan/feature/#71

Merge pull request #84 from nagoya-caravan/feature/#71 #1

Workflow file for this run

name: edit manifest
on:
push:
branches:
- develop
- feature/#5
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: checkout manifest repository
uses: actions/checkout@v3
with:
repository: nagoya-caravan/hazakura-k8s
ref: main
token: ${{ secrets.GIT_TOKEN }}
- name: edit manifest
run: |
yq -i '.spec.template.spec.initContainers[1].env[0].value = "${{ github.sha }}"' ./frontend/frontend.yml
- name: push
run: |
git config user.name githubActions
git config user.email [email protected]
git add .
git commit --author=. -m "update src"
git push