-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to use user name and permissions
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: Build and Deploy to GitHub Pages | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: | ||
|
@@ -32,7 +35,7 @@ jobs: | |
- name: Deploy to GitHub Pages | ||
run: | | ||
git config --global user.email "oscar.boykin+github_actions@gmail.com" | ||
git config --global user.email "[email protected].com" | ||
git config --global user.name "GitHub Actions" | ||
git fetch --depth=1 origin gh-pages | ||
git checkout -b gh-pages origin/gh-pages | ||
|