Skip to content

Commit

Permalink
Add GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotm committed Jan 26, 2024
1 parent b612f4c commit e6cc369
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Lazy Speaker Slides CI

on:
push:
branches: [main]
pull_request:
branches: [main]

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure pages
uses: actions/configure-pages@v4
- name: Install devbox
uses: jetpack-io/[email protected]
- name: Build app
run: devbox run deploy
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit e6cc369

Please sign in to comment.