Bun deploy to pages #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Build and deploy to Github PagesInvalid workflow file
|
||
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 |