Skip to content

refactor: optimize ux #38

refactor: optimize ux

refactor: optimize ux #38

Workflow file for this run

name: Main workflow
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: performance
steps:
- name: Specific Node.js version 🦄
uses: actions/setup-node@v3
with:
node-version: 20
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 📎
env:
BASE_URL: ${{ vars.BASE_URL }}
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: dist-pages
folder: dist
- name: Webhook 📲
uses: wei/curl@master
with:
args: ${{ vars.DEPLOY_WEBHOOK_URL }}?secret=${{ secrets.DEPLOY_WEBHOOK_SECRET }}