Skip to content

Commit

Permalink
Fixed prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasantarella committed Mar 19, 2023
1 parent 8082d93 commit 6b84e12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- id: repo-name
run: |
echo "GITHUB_REPO_NAME=$(echo ${{ github.repository_id }} | cut -d '/' -f 2)" >> $GITHUB_ENV
echo "GITHUB_REPO_NAME=$(echo ${{ github.repository }} | cut -d '/' -f 2)" >> $GITHUB_ENV
shell: bash
- name: Build with Next.js
env:
NODE_ENV: production
ASSET_PREFIX: "${{ env.GITHUB_REPO_NAME }}/"
MOUNT_URL: ${{ env.GITHUB_REPO_NAME }}
ASSET_PREFIX: "/${{ env.GITHUB_REPO_NAME }}/"
MOUNT_URL: "/${{ env.GITHUB_REPO_NAME }}"
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Static HTML export with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next export
Expand Down

0 comments on commit 6b84e12

Please sign in to comment.