Skip to content

Merge pull request #1250 from caiocampos/dependabot/npm_and_yarn/test… #1005

Merge pull request #1250 from caiocampos/dependabot/npm_and_yarn/test…

Merge pull request #1250 from caiocampos/dependabot/npm_and_yarn/test… #1005

Workflow file for this run

name: Deploy
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm install
- name: Build
env:
REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
run: npm run build --if-present
- name: Adjustment
run: |
cd build
cp index.html 404.html
- name: Deploy
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build