Skip to content

Commit

Permalink
feat: proper build pipeline order for non gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Jul 29, 2024
1 parent e1d5873 commit 619e27a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,11 @@ jobs:
node-version: 20
cache: "pnpm"
- run: pnpm install
- name: Create backend export
run: node src/scripts/strapiToJson.js
- run: pnpm run build
- run: echo "$(envsubst < build/index.html)" > build/index.html

# Create backend export
- run: node src/scripts/strapiToJson.js
- run: mv exports build/exports

- uses: actions/upload-artifact@v4
with:
name: build-cache-prod
Expand Down

0 comments on commit 619e27a

Please sign in to comment.