Hey there Crazy Max. I'm trying to publish the contents of my build folder using this action. Here's my configuration:
name: Publish
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
When I get to the publish action, I run into this error:
🏃 Deploying build directory to gh-pages branch on LandonSchropp/landonschropp.com repo
git init
/home/runner/work/landonschropp.com/landonschropp.com/build/.git: Permission denied
##[error]The process 'git' failed with exit code 1
##[error]Node run failed with exit code 1
It looks like the error is happening here. However, I can't figure out why the build directory would have any weird permissions. Did the action somehow get pointed the wrong place? Any ideas?
Thanks in advance!
Hey there Crazy Max. I'm trying to publish the contents of my
buildfolder using this action. Here's my configuration:When I get to the publish action, I run into this error:
It looks like the error is happening here. However, I can't figure out why the
builddirectory would have any weird permissions. Did the action somehow get pointed the wrong place? Any ideas?Thanks in advance!