Skip to content

feat: using own backend api #21

feat: using own backend api

feat: using own backend api #21

Workflow file for this run

# don't forget to add 'homepage' property to package.json with the weblink to where this will deploy
# turn permissions on: Settings > General > Workflow permissions > Read and write permissions
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn install
CI='' yarn build
env:
CI: false
REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
REACT_APP_API_VERSION: ${{ secrets.REACT_APP_API_VERSION }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./build/ # The folder the action should deploy.