Skip to content

Commit

Permalink
deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Sep 30, 2023
1 parent 8eb9082 commit f3c406d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import inline from "lume/plugins/inline.ts";
import basePath from "lume/plugins/base_path.ts";
import metas from "lume/plugins/metas.ts";

const site = lume();
const site = lume({
location: new URL("https://dag.gal/feed2023/"),
});

site.use(postcss());
site.use(vento());
Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A -",
"build": "deno task lume",
"serve": "deno task lume -s"
"serve": "deno task lume -s",
"deploy": "deno task build && rsync -r _site/ '[email protected]:~/www/current/public/feed2023'"
},
"lock": false,
"imports": {
Expand Down

0 comments on commit f3c406d

Please sign in to comment.