Skip to content

Commit

Permalink
✨ Update release workflow to include full fetch depth and push to mai…
Browse files Browse the repository at this point in the history
…n branch
  • Loading branch information
grelinfo committed Nov 26, 2024
1 parent 4d889c0 commit 02c4374
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}

- name: Install uv
uses: astral-sh/setup-uv@v3
Expand All @@ -31,13 +34,17 @@ jobs:
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -m "🚀 Release $RELEASE_VERSION"
git push
git push origin
git push origin main
publish-docs:
runs-on: ubuntu-latest
needs: [bump-version]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}

- name: Install uv
uses: astral-sh/setup-uv@v3
Expand All @@ -64,6 +71,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}

- name: Install uv
uses: astral-sh/setup-uv@v3
Expand Down

0 comments on commit 02c4374

Please sign in to comment.