diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 04b712f..9393982 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -20,6 +20,10 @@ concurrency: group: 'pages' cancel-in-progress: true +# Allow repo secrets +env: + VITE_EMAILJS_PUBLIC_KEY: ${{ secrets.VITE_EMAILJS_PUBLIC_KEY }} + jobs: # Single deploy job since we're just deploying deploy: @@ -37,10 +41,6 @@ jobs: cache: 'npm' - name: Install dependencies run: npm install - - name: Set up environment variables - env: - VITE_EMAILJS_PUBLIC_KEY: ${{ secrets.VITE_EMAILJS_PUBLIC_KEY }} - run: echo "Setting up environment variables" - name: Build run: npm run build - name: Setup Pages