Skip to content

WebApp - Actualizo configuración de Terraform para que use bucket exi… #25

WebApp - Actualizo configuración de Terraform para que use bucket exi…

WebApp - Actualizo configuración de Terraform para que use bucket exi… #25

Workflow file for this run

name: Build and release React app
on:
push:
branches:
- master
paths:
- webapp/**/*
- .github/workflows/webApp.yml
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
cd webapp
yarn install
- name: Build project
run: |
cd webapp
yarn build
- name: Deploy Infrastructure
run: |
terraform init
terraform apply -auto-approve
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}