Skip to content

Commit

Permalink
try to use user name and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnynek committed Feb 11, 2024
1 parent f9ee909 commit d3bc3dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_web.yml
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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d3bc3dd

Please sign in to comment.