Skip to content

Commit

Permalink
woops fix yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfiol committed Oct 18, 2023
1 parent 1f0be05 commit 58b33ad
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Expand Up @@ -21,16 +21,14 @@ jobs:
with:
node-version: 18.15.0
cache: 'pnpm'
- uses: denoland/setup-deno@v1
with:
deno-version: 1.36.1
- name: install and build
run: |
pnpm install --prod
pnpm run build
- uses: denoland/setup-deno@v1
with:
deno-version: 1.36.1
- name: deploy
run: |
# install deployctl
- deno install --allow-all --no-check https://deno.land/x/deploy@1.8.2/deployctl.ts
# deploy site as file server
- cd ./dist/ && deployctl deploy --project="$PROJECT_NAME" --prod https://deno.land/std@0.204.0/http/file_server.ts
deno install --allow-all --no-check https://deno.land/x/deploy@1.8.2/deployctl.ts
cd ./dist/ && deployctl deploy --project="$PROJECT_NAME" --prod https://deno.land/std@0.204.0/http/file_server.ts

0 comments on commit 58b33ad

Please sign in to comment.