Skip to content

Commit

Permalink
fix: tailwind deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed Dec 30, 2023
1 parent f289289 commit 63a0ddb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy
on:
push:
branches: [main]
pull_request:
branches: main

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

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

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

- name: Build step
run: "cd www && deno task build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "gameoflife"
entrypoint: "./www/main.ts"
1 change: 1 addition & 0 deletions www/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lock": false,
"nodeModulesDir": true,
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -",
Expand Down

0 comments on commit 63a0ddb

Please sign in to comment.