Skip to content

Commit fc2b202

Browse files
committed
add: Workflows 4
1 parent d3b4435 commit fc2b202

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
echo "Successfully modified file"
1818
git config --global user.email "ayushdumasia00@gmail.com"
1919
git config --global user.name "action bot"
20+
git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/ad1822/dotsh.git
2021
git add ./test.txt
2122
git commit -m "Modify test.txt by bot"
22-
git push https://${{ secrets.GH_PAT }}@github.com/ad1822/dotsh.git main
23+
git push origin main
2324
env:
24-
GITHUB_TOKEN: ${{secrets.GH_PAT}}
25+
GH_PAT: ${{secrets.GH_PAT}}

0 commit comments

Comments
 (0)