Skip to content

Commit

Permalink
feat!: remove node code
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed May 26, 2024
1 parent df74ed0 commit 5fd0b71
Show file tree
Hide file tree
Showing 22 changed files with 754 additions and 992 deletions.
51 changes: 0 additions & 51 deletions .github/actions/pnpm-install/action.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/clean-pr-caches.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/deploy.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Publish on GitHub Pages

on:
push:
branches: [ main ]

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

concurrency: pages

env:
DENO_DIR: /home/runner/.cache/deno

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Cache Deno dependencies
uses: actions/cache@v4
with:
path: ${{ env.DENO_DIR }}
key: ${{ hashFiles('deno.lock') }}

- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build site
run: deno task build

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.vite

# Editor directories and files
.vscode/*
Expand Down
Loading

0 comments on commit 5fd0b71

Please sign in to comment.