Skip to content

Commit

Permalink
Improved gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcav committed May 10, 2024
1 parent 2818778 commit ccaf9f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/jsdoc-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit ccaf9f1

Please sign in to comment.