Skip to content

Commit

Permalink
fix(ci): use correct docs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Apr 10, 2024
1 parent c430269 commit 7fa0c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
env:
CURRENT_VERSION: 2.6
run: |
sed -i "s/\"title\": \"Litestar [0-9.]* has just been released!\"/\"title\": \"Litestar ${{ steps.latest_release.outputs.version }} has just been released!\"/" docs/conf.py
sed -i "s|https://docs.litestar.dev/[0-9.]*/release-notes/changelog.html#[0-9.]*|https://docs.litestar.dev/latest/release-notes/changelog.html#${{ steps.latest_release.outputs.version }}|" docs/conf.py
sed -i "s/\"title\": \"Litestar [0-9.]* has just been released!\"/\"title\": \"Litestar ${{ steps.latest_release.outputs.version }} has just been released!\"/" page/conf.py
sed -i "s|https://docs.litestar.dev/[0-9.]*/release-notes/changelog.html#[0-9.]*|https://docs.litestar.dev/latest/release-notes/changelog.html#${{ steps.latest_release.outputs.version }}|" page/conf.py
- name: Update workflow file
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
Expand Down

0 comments on commit 7fa0c3a

Please sign in to comment.