8000 changing way it auths · peterbenoit/ResourceLoader.js@d23f9e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d23f9e4

Browse files
authored
changing way it auths
1 parent a3c196c commit d23f9e4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/update-portfolio.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
uses: actions/checkout@v2
1616

1717
- name: Clone Portfolio Repo
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.PAT_FOR_PORTFOLIO_REPO }}
2018
run: |
21-
git clone https://github.com/peterbenoit/peterbenoit.github.io portfolio
19+
git clone https://peterbenoit:${{ secrets.PAT_FOR_PORTFOLIO_REPO }}@github.com/peterbenoit/peterbenoit.github.io portfolio
2220
cd portfolio
2321
git config user.name "peterbenoit"
2422
git config user.email "peterbenoit@gmail.com"
@@ -27,10 +25,8 @@ jobs:
2725
run: cp ./resourceLoader.js ./portfolio/libraries/resourceLoader.js
2826

2927
- name: Commit and Push Changes
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.PAT_FOR_PORTFOLIO_REPO }}
3228
run: |
3329
cd portfolio
3430
git add .
3531
git commit -m "Update ResourceLoader in portfolio"
36-
git push
32+
git push https://peterbenoit:${{ secrets.PAT_FOR_PORTFOLIO_REPO }}@github.com/peterbenoit/peterbenoit.github.io

0 commit comments

Comments
 (0)
0