manually copy over .domains
Publish / build (push) Successful in 1m5s Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-04-02 16:38:47 +02:00
parent abce7a1865
commit 0e63f3de07
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
3 changed files with 15 additions and 3 deletions

View File

@ -21,9 +21,11 @@ jobs:
with:
deno-version: v1.x
- name: Build site
run: deno task build
run: |
deno task build
cp src/static/.domains _site
- name: Deploy to GitHub Pages
- name: Deploy to Codeberg Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:

View File

@ -15,5 +15,13 @@
},
"exclude": [
"./_site"
]
],
"deploy": {
"project": "bffcfd12-e23c-4402-b99a-335185e60640",
"exclude": [
"**/node_modules"
],
"include": [],
"entrypoint": "serve.ts"
}
}

View File

@ -23,6 +23,7 @@ export default function () {
.mergeKey("extra_head", "stringArray")
.use(transformImages())
.copy("static", ".")
.copy(".domains")
.use(minifyHTML({
extensions: [".css", ".html", ".js"]
}));
@ -40,5 +41,6 @@ export default function () {
});
site.copy([".jpg", ".webp", ".png"]);
site.copy("static/.peepeepoopoo");
};
}