File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 15
15
uses : actions/checkout@v2
16
16
17
17
- name : Clone Portfolio Repo
18
- env :
19
- GITHUB_TOKEN : ${{ secrets.PAT_FOR_PORTFOLIO_REPO }}
20
18
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
22
20
cd portfolio
23
21
git config user.name "peterbenoit"
24
22
git config user.email "peterbenoit@gmail.com"
27
25
run : cp ./resourceLoader.js ./portfolio/libraries/resourceLoader.js
28
26
29
27
- name : Commit and Push Changes
30
- env :
31
- GITHUB_TOKEN : ${{ secrets.PAT_FOR_PORTFOLIO_REPO }}
32
28
run : |
33
29
cd portfolio
34
30
git add .
35
31
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
You can’t perform that action at this time.
0 commit comments