Skip to content

Commit

Permalink
ci(website): πŸ’š update website action
Browse files Browse the repository at this point in the history
  • Loading branch information
diecodev committed Jan 14, 2024
1 parent 47ec3cb commit c69c926
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
pull_request:
branches: main
paths: website/**

defaults:
run:
working-directory: ./website

jobs:
deploy:
Expand All @@ -23,23 +19,27 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

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

- name: Install Node.js
uses: actions/setup-node@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
node-version: lts/*
version: 8

- name: Setup website root and Build step
run: "npm install && npm run build" # πŸ“ Update the build command(s) if necessary
- name: Build qwik-sonner
run: "pnpm install --no-frozen-lockfile && pnpm run build"

- name: Build website
run: "pnpm install --no-frozen-lockfile && pnpm run build"
working-directory: ./website

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "qwik-sonner"
entrypoint: "https://deno.land/[email protected]/http/file_server.ts" # πŸ“ Update the entrypoint if necessary
root: "dist" # πŸ“ Update the root if necessary
root: "./website/dist" # πŸ“ Update the root if necessary

0 comments on commit c69c926

Please sign in to comment.