Skip to content

Chore: removed console log #19

Chore: removed console log

Chore: removed console log #19

name: CI Production deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy to production
runs-on: ubuntu-latest
steps:
- name: Checkout repository 🛎️
uses: actions/checkout@v3
- name: Build 🏗️
uses: ./.github/actions/build
env:
VITE_BASHAWAY_BE_URL: ${{ secrets.PRODUCTION_BASHAWAY_BE_URL }}
VITE_APP_ENV: production
- name: Fix base URL 🔧
run: sed -i "s/.\/assets/\/assets/" dist/index.html
- name: Fix 404 on page reload 🚧
uses: sliit-foss/actions/preview-deployments/404@main
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./dist/
branch: gh-pages
clean-exclude: preview