Skip to content

Commit

Permalink
ci: rename before branch before trying to cd
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylajara authored Jun 25, 2024
1 parent 21b931d commit 200c3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/host_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Init new repo in dist folder and commit generated files
run: |
cd docs/build/html/
git init
git branch -m master main
cd docs/build/html/
touch .nojekyll
git add -A
git branch -m master main
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git config --system --add safe.directory /github/workspace/docs/build/html
Expand Down

0 comments on commit 200c3d3

Please sign in to comment.