Skip to content

Commit

Permalink
update v2 deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
netto14cr committed Aug 23, 2024
1 parent 4db3da9 commit ff1b161
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
- name: Install Vercel CLI
run: npm install -g vercel

- name: Deploy to Vercel
- name: Prepare Credentials and Deploy
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} # El contenido JSON como variable secreta
run: |
echo $GOOGLE_CREDENTIALS > google/key/credentials.json # Crea el archivo JSON
mkdir -p google/key # Crea el directorio si no existe
echo "$GOOGLE_CREDENTIALS" > google/key/credentials.json # Crea el archivo JSON
vercel --prod --confirm

0 comments on commit ff1b161

Please sign in to comment.