Skip to content

Commit

Permalink
fix site_url on cloudflare deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 18, 2024
1 parent d26ca29 commit bfddea8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

- name: Build for cloudflare
run: |
sed -i 's|^const site_url\ =.*|const site_url\ =\ "https://pranab.pages.dev";|I' docusaurus.config.js
npm run build
- name: Deploy on cloudflare
run: |
COMMIT_HASH=$( git rev-parse --short HEAD )
Expand Down

0 comments on commit bfddea8

Please sign in to comment.