Skip to content

Commit 491bf52

Browse files
authored
Cambio de cosas
1 parent 2aa70a9 commit 491bf52

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/azure-static-web-apps-brave-hill-059e9b010.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
api_location: "" # Api source code path - optional
3333
output_location: "build" # Built app content directory - optional
3434
###### 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 }}
3542

3643
close_pull_request_job:
3744
if: github.event_name == 'pull_request' && github.event.action == 'closed'
@@ -44,3 +51,4 @@ jobs:
4451
with:
4552
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_HILL_059E9B010 }}
4653
action: "close"
54+

0 commit comments

Comments
 (0)