Skip to content

Commit

Permalink
Updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abhihjoshi committed Nov 30, 2024
1 parent 8150003 commit 2d5faba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,15 @@ jobs:
# Remove .nojekyll from root directory if it exists
- name: Remove .nojekyll file
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git fetch origin gh-pages
git checkout gh-pages
if [ -f .nojekyll ]; then
git rm .nojekyll
rm .nojekyll
git add .nojekyll
git commit -m "Remove .nojekyll file"
git push origin gh-pages
echo ".nojekyll file removed"
else
echo ".nojekyll file does not exist, skipping."
Expand Down

0 comments on commit 2d5faba

Please sign in to comment.