Skip to content

Commit fc26727

Browse files
authored
Test CI
1 parent b9831c3 commit fc26727

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
deploy:
3131
needs: build
3232
runs-on: ubuntu-latest
33-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
3433

3534
environment:
3635
name: github-pages

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { remarkHeadingId } from "remark-custom-heading-id";
44
import rehypeSlug from 'rehype-slug';
55
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
66
import rehypeExternalLinks from "rehype-external-links";
7+
import relativeLinks from "astro-relative-links";
78
import yaml from '@rollup/plugin-yaml';
89

910
export default defineConfig({
@@ -39,4 +40,5 @@ export default defineConfig({
3940
}]
4041
],
4142
},
43+
integrations: [relativeLinks()],
4244
});

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"rehype-autolink-headings": "^7.1.0",
1414
"rehype-external-links": "^3.0.0",
1515
"rehype-slug": "^6.0.0",
16-
"remark-custom-heading-id": "^2.0.0"
16+
"remark-custom-heading-id": "^2.0.0",
17+
"astro-relative-links": "^0.4.2"
1718
},
1819
"devDependencies": {
1920
"@rollup/plugin-yaml": "^4.1.2"

0 commit comments

Comments
 (0)