Skip to content

Commit

Permalink
separate 2 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Nov 29, 2023
1 parent 15b63ee commit 3463650
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ jobs:
REPO_URL=$(git config --get remote.origin.url)
echo "Repository URL: $REPO_URL"
- name: Deploy to GitHub Pages with Force Push
- name: Git config
run: |
cd site
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global init.defaultBranch main
- name: Deploy to GitHub Pages with Force Push
run: |
cd site
git init
git remote add origin https://necessarylion:${{ secrets.PUSH_TO_PROTECTED_BRANCH }}@github.com/dartondox/dox.git
git checkout -b gh-pages
Expand Down

0 comments on commit 3463650

Please sign in to comment.