Skip to content

Commit

Permalink
gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
SnO2WMaN committed Jan 2, 2025
1 parent 6990a40 commit 1451b06
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: docs

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v2.x
- run: deno task start
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./pages
- uses: actions/deploy-pages@v1
id: deployment

0 comments on commit 1451b06

Please sign in to comment.