Skip to content

chore: Disabled action till full deployment ready #4

chore: Disabled action till full deployment ready

chore: Disabled action till full deployment ready #4

Workflow file for this run

name: Build and Deploy
# on:
# push:
# branches:
# - master
# paths:
# - 'intrinsic-frontend/**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '22.3.0'
- name: Build project
run: |
cd intrinsic-frontend
npm install
npm run build
- name: Upload production-ready build files
uses: actions/upload-artifact@v3
with:
name: production-files
path: intrinsic-frontend/dist
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: production-files
path: intrinsic-frontend/dist
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4