diff --git a/.github/workflows/services-docs-next-required.yml b/.github/workflows/services-docs-next-required.yml index 7289f0f..7f52407 100644 --- a/.github/workflows/services-docs-next-required.yml +++ b/.github/workflows/services-docs-next-required.yml @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v4 with: ref: next - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN }} - name: Setup Kustomize uses: imranismail/setup-kustomize@v2 diff --git a/.github/workflows/services-www-releases-dispatch-release.yml b/.github/workflows/services-www-releases-dispatch-release.yml index f975d46..261332c 100644 --- a/.github/workflows/services-www-releases-dispatch-release.yml +++ b/.github/workflows/services-www-releases-dispatch-release.yml @@ -320,7 +320,7 @@ jobs: uses: actions/checkout@v4 with: ref: next - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN }} - name: Setup Kustomize uses: imranismail/setup-kustomize@v2 diff --git a/ci/scripts/deploy-gitops.sh b/ci/scripts/deploy-gitops.sh index f8edb41..7b4167b 100755 --- a/ci/scripts/deploy-gitops.sh +++ b/ci/scripts/deploy-gitops.sh @@ -22,8 +22,8 @@ cd "$APP_DIR" kustomize edit set image "ghcr.io/deytenit/ermnvldmr.com/${SERVICE}=ghcr.io/deytenit/ermnvldmr.com/${SERVICE}:${TAG}" cd "$ROOT_DIR" -git config user.name "github-actions[bot]" -git config user.email "github-actions[bot]@users.noreply.github.com" +git config user.name "adam-at-deytenit" +git config user.email "221188529+adam-at-deytenit@users.noreply.github.com" git add "ci/k8s/apps/${SERVICE}/kustomization.yaml" if git diff --staged --quiet; then