Skip to content

Merge pull request #151 from ServerIbraimovUa/state #146

Merge pull request #151 from ServerIbraimovUa/state

Merge pull request #151 from ServerIbraimovUa/state #146

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches: [develop]
env:
VITE_API_TEST: ${{secrets.VITE_API_TEST}}
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install, build 🔧
run: |
npm install
npm run build
cp ./dist/index.html ./dist/404.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: dist