Skip to content

Bun deploy to pages #14

Bun deploy to pages

Bun deploy to pages #14

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: Bun Install and Build 🔧
uses: oven-sh/setup-bun@v1
run: bun install

Check failure on line 14 in .github/workflows/deploy-from-master.yaml

View workflow run for this annotation

GitHub Actions / Build and deploy to Github Pages

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-from-master.yaml (Line: 14, Col: 9): Unexpected value 'run' .github/workflows/deploy-from-master.yaml (Line: 15, Col: 9): 'run' is already defined
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