Skip to content

Commit

Permalink
update v4 deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
netto14cr committed Aug 23, 2024
1 parent 36a9957 commit acff448
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16' # Cambia a la versión de Node.js que necesitas

Expand All @@ -29,5 +29,4 @@ jobs:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} # El contenido JSON como variable secreta
run: |
mkdir -p google/key # Crea el directorio si no existe
echo "$GOOGLE_CREDENTIALS" > google/key/credentials.json # Crea el archivo JSON
vercel --prod --yes # Usa --yes en lugar de --confirm
echo "$GOOGLE_CREDENTIALS" > google/key/credential

0 comments on commit acff448

Please sign in to comment.