Skip to content

Use relative path in vite.config.js #45

Use relative path in vite.config.js

Use relative path in vite.config.js #45

Workflow file for this run

name: Build
on:
push:
branches: ["**"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: Install
run: npm ci
- name: Build
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to Render
if: github.ref_name == 'main'
uses: johnbeynon/render-deploy-action@v0.0.8
with:
service-id: ${{ secrets.RENDER_SERVICE_ID }}
api-key: ${{ secrets.RENDER_API_KEY }}
wait-for-success: true