We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aa70a9 commit 491bf52Copy full SHA for 491bf52
1 file changed
.github/workflows/azure-static-web-apps-brave-hill-059e9b010.yml
@@ -32,6 +32,13 @@ jobs:
32
api_location: "" # Api source code path - optional
33
output_location: "build" # Built app content directory - optional
34
###### End of Repository/Build Configurations ######
35
+
36
+ # --- ESTA ES LA MODIFICACIÓN ---
37
+ # Pasa los secrets de GitHub como variables de entorno al proceso de build
38
+ env:
39
+ REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
40
+ # Si usaras Vite, el nombre sería:
41
+ # VITE_API_URL: ${{ secrets.VITE_API_URL }}
42
43
close_pull_request_job:
44
if: github.event_name == 'pull_request' && github.event.action == 'closed'
@@ -44,3 +51,4 @@ jobs:
51
with:
45
52
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_HILL_059E9B010 }}
46
53
action: "close"
54
0 commit comments