Skip to content

Commit

Permalink
Refactor deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Leokuma committed Jun 30, 2024
1 parent f7d004a commit d566c2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
deno-version: v1.x

- name: Build
run: deno run -A https://deno.land/x/packup@v0.2.4/cli.ts build index.html
run: deno task build

- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"tasks": {
"build": "packup build index.html || deno task packup-install",
"serve": "packup serve index.html || deno task packup-install",
"build": "packup build index.html || deno task packup-install && packup build index.html",
"serve": "packup serve index.html || deno task packup-install && packup serve index.html",
"packup-install": "deno install -qAf https://deno.land/x/packup@v0.2.6/cli.ts"
},
"lock": false
Expand Down

0 comments on commit d566c2d

Please sign in to comment.