Skip to content

Commit

Permalink
ci: use just repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 4, 2024
1 parent 136ed5f commit ac01dbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ jobs:
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Extract repository name
id: extract-repo
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Build
env:
BASE_URL: /${{ github.repository }}/
BASE_URL: /${{ env.REPO_NAME }}/
MAPTILER_API_KEY: ${{ vars.MAPTILER_API_KEY }}
run: |
npm run build
Expand Down

0 comments on commit ac01dbb

Please sign in to comment.