Skip to content

Commit

Permalink
Publish example page using GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Aug 29, 2024
1 parent caf8955 commit 8de555b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy

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

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# - run: npm install
# - run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: "build"
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4

0 comments on commit 8de555b

Please sign in to comment.