Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 751 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 751 Bytes

dtml-simple-gitops

Made to make updating a single variable in a YAML file easy.

Usage:

jobs:
  Push-to-gitops-repo:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout GitOps Repo
        uses: actions/checkout@v3
        with:
          repository: # path to your gitops repo 
          ref: # branch 
          path: # directory to clone to. usually "gitops" 
          ssh-key: # SSH-KEY 
      - name: dtml-simple-gitops
        uses: datamole-ai/simple-gitops@python
        with:
          key: # key to look for 
          value: # new value. not mandatory. github.sha by default
          valuesFile: # path to values file in gitops repo
          commitMessage: # not mandatory. copies commit msg by default