Skip to content

Commit

Permalink
Update dotnet.yml Global User
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofaria authored Feb 13, 2024
1 parent 0b15008 commit e048ea9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Git
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
- name: Build and Deploy
run: |
cd Imc/dist/wwwroot
git init
git checkout gh-pages || git checkout --orphan gh-pages
git rm -rf .
cp -r ./* ../../
git checkout main
git checkout -b gh-pages
git add .
git commit -m "Deploy to GitHub Pages"
git push --force origin gh-pages

0 comments on commit e048ea9

Please sign in to comment.