Skip to content

readme updated

readme updated #9

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js ⚙️
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: |
yarn install
yarn build
env:
REACT_APP_KANDINSKY_API_KEY: ${{ secrets.REACT_APP_KANDINSKY_API_KEY }}
REACT_APP_KANDINSKY_API_SECRET: ${{ secrets.REACT_APP_KANDINSKY_API_SECRET }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build