Skip to content

Commit

Permalink
ci: create deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperwyczawski authored Feb 8, 2024
1 parent baacadf commit ac7570f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to GitHub Pages

on:
push:
branches: ['main']
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run build
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v2
with:
path: './dist'
- id: deployment
uses: actions/deploy-pages@v2

0 comments on commit ac7570f

Please sign in to comment.