post-deploy fixins
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 21s

This commit is contained in:
2025-11-10 11:52:53 -08:00
parent 43c34a5c3e
commit 95c50bfeff
2 changed files with 4 additions and 5 deletions

View File

@@ -73,11 +73,9 @@ jobs:
# --- Frontend Deployment --- # --- Frontend Deployment ---
- name: Build React Application - name: Build React Application
# Explicitly pass the secret to the build step. This is the most reliable way # We set the environment variable directly in the command line for this step.
# to ensure the build process has access to it. # This is the most forceful and reliable way to ensure the variable is available to the build process.
env: run: VITE_API_KEY=${{ secrets.VITE_API_KEY }} npm run build
VITE_API_KEY: ${{ secrets.VITE_API_KEY }}
run: npm run build # This creates the 'dist' directory.
- name: Deploy Frontend via Local Copy - name: Deploy Frontend via Local Copy
run: | run: |

View File

@@ -19,5 +19,6 @@
<body> <body>
<div id="root"></div> <div id="root"></div>
<!-- Vite will inject the correct <script> tag here during the build process --> <!-- Vite will inject the correct <script> tag here during the build process -->
<script type="module" src="/index.tsx"></script>
</body> </body>
</html> </html>