Skip to content

Merge pull request #10 from ManuelBilbao/optimizacion #20

Merge pull request #10 from ManuelBilbao/optimizacion

Merge pull request #10 from ManuelBilbao/optimizacion #20

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build page
run: npm run build
env:
REACT_APP_WEB_URL: ${{ vars.REACT_APP_WEB_URL }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
allow_empty_commit: true