Skip to content
name: Build and deploy to Github Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Use Bun 🔧
uses: oven-sh/setup-bun@v1
- name: Bun Install 🔧
run: bun install
- name: Bun Build 🔧
run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
# Deployment job
deploy:
environment:
name: github-pages
url: semestra.limbe.ro
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4