Skip to content

Commit

Permalink
Added dynamic secret
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveAldon committed Apr 23, 2024
1 parent 410c194 commit b6dfaf9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ jobs:
run: npm ci

- name: Extract repository name
run: echo "BASE_URL=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)" >> $GITHUB_ENV
run: echo "BASE_PATH=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)" >> $GITHUB_ENV

- name: Build my App
run: npm run build && touch ./out/.nojekyll
env:
BASE_URL: ${{ secrets.BASE_URL }}

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.0
Expand Down

0 comments on commit b6dfaf9

Please sign in to comment.