Skip to content

Merge pull request #5 from mfactory-lab/dev #44

Merge pull request #5 from mfactory-lab/dev

Merge pull request #5 from mfactory-lab/dev #44

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- public/**
- src/**
env:
URL: defi.albus.finance
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- name: Install and Build
run: |
pnpm install
pnpm run build
cp dist/index.html dist/404.html
echo ${{ env.URL }} > dist/CNAME
touch dist/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist