Skip to content

Commit

Permalink
Fix on yml for secrets pt3
Browse files Browse the repository at this point in the history
  • Loading branch information
Gionata committed Jul 31, 2023
1 parent 75b852a commit 8f5046e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Set environment variables
env:
NEXT_PUBLIC_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BASE_PATH }}
run: echo "NEXT_PUBLIC_BASE_PATH=$NEXT_PUBLIC_BASE_PATH" >> $GITHUB_ENV

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
env:
NEXT_PUBLIC_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BASE_PATH }}

0 comments on commit 8f5046e

Please sign in to comment.