diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml index e506738a..40d0ccc0 100644 --- a/.github/workflows/updatecli.yaml +++ b/.github/workflows/updatecli.yaml @@ -33,11 +33,11 @@ jobs: env: UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # This step runs Updatecli in Apply mode, but only if the current branch is 'master' + # This step runs Updatecli in Apply mode, but only if the current branch is 'main' # It uses the "apply" command of updatecli with the specified config and values files # The GitHub token is passed as an environment variable - name: Run Updatecli in Apply mode - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml env: - UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}