From ccaf9f1fbe976e2a8211a445f693f2a10309947d Mon Sep 17 00:00:00 2001 From: darthcav Date: Fri, 10 May 2024 16:04:53 +0200 Subject: [PATCH] Improved gh actions --- .github/workflows/jsdoc-to-gh-pages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jsdoc-to-gh-pages.yml b/.github/workflows/jsdoc-to-gh-pages.yml index 707690e..bab621b 100644 --- a/.github/workflows/jsdoc-to-gh-pages.yml +++ b/.github/workflows/jsdoc-to-gh-pages.yml @@ -55,9 +55,9 @@ jobs: path: ./public - name: Commit changes run: | - git config credential.helper store # Enable credential helper (one-time setup) - git config credential.helper 'store -s {{ GITHUB_ACTOR }}' # Store credentials securely with username - echo "https://darthcav:{{ secrets.GH_PAGES_TOKEN }}@github.com" > ~/.git-credentials # Update credentials file (not recommended for sharing) + git config credential.helper store + git config credential.helper 'store -s {{ GITHUB_ACTOR }}' + echo "https://darthcav:{{ secrets.GH_PAGES_TOKEN }}@github.com" > ~/.git-credentials git config user.name {{ GITHUB_ACTOR }} git config user.email {{ secrets.ACTOR_EMAIL } git add .