upd: Remove deps.ts barrel file (#10) #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deno Deploy | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Compile frontend | |
uses: oven-sh/setup-bun@v2 | |
- run: bun install | |
- run: | | |
mkdir -p ./dist | |
bun build ./app/index.tsx > ./dist/bundle.js | |
- run: bunx tailwindcss -i ./app/assets/style.css -o ./dist/style.css | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Deploy to Deno Deploy | |
uses: denoland/deployctl@1.12.0 | |
with: | |
project: mcstructure | |
entrypoint: main.ts |