Skip to content

Commit d53836a

Browse files
committed
use ad-m/github-push-action@master
1 parent 68fd152 commit d53836a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
echo %date% %time% >> HamEvent/App_Data/dbtestfile.txt
2323
git add HamEvent/App_Data/dbtestfile.txt
2424
git commit -m "update db file [skip actions]"
25-
git push
25+
- name: Push change
26+
uses: ad-m/github-push-action@master
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
branch: ${{ github.ref }}
2630
- name: Setup .NET
2731
uses: actions/setup-dotnet@v3
2832
with:
@@ -68,7 +72,11 @@ jobs:
6872
echo %date% %time% >> HamEvent/App_Data/dbtestfile_.txt
6973
git add HamEvent/App_Data/dbtestfile_.txt
7074
git commit -m "update db file [skip actions]"
71-
git push
75+
- name: Push change
76+
uses: ad-m/github-push-action@master
77+
with:
78+
github_token: ${{ secrets.GITHUB_TOKEN }}
79+
branch: ${{ github.ref }}
7280
- name: Deploy App Pool
7381
uses: bogdanbrudiu/simply-web-deploy/Deploy@main
7482
with:

0 commit comments

Comments
 (0)