Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,13 @@ jobs:
if: github.event_name == 'release' || inputs.environment == 'production'
run: |
TAG_VERSION=${GITHUB_REF#refs/tags/}

# Checkout main before docs commit to avoid detached HEAD push failure
git fetch origin main
git checkout main

git config --global user.name 'KCF'
git config --global user.email 'kcf@users.noreply.github.com'
git add docs
git commit -m "docs: update for release $TAG_VERSION 📚" || echo "No changes to commit"
git push
git push origin main