Skip to content

Commit 9536cde

Browse files
authored
Start over (#25)
* Restart site Signed-off-by: GitHub <[email protected]> * Steal footer Signed-off-by: GitHub <[email protected]> * Add @types/node to dev deps Signed-off-by: GitHub <[email protected]> * You saw nothing Signed-off-by: GitHub <[email protected]> * Add Sentry Signed-off-by: GitHub <[email protected]> * Init GHA deployment Signed-off-by: GitHub <[email protected]> --------- Signed-off-by: GitHub <[email protected]>
1 parent c99fe20 commit 9536cde

33 files changed

+272
-2420
lines changed

.github/dependabot.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
version: 2
22
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
ci-dependencies:
9+
patterns:
10+
- "*"
11+
312
- package-ecosystem: "npm"
413
directory: "/"
514
schedule:

.github/workflows/site-deploy.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Deploy to GitHub Pages"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: "Checkout repository"
14+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
15+
with:
16+
fetch-depth: 0
17+
18+
- name: "Install, build, and upload your site"
19+
uses: withastro/action@acfe56dffc635abfb9506c77d51ce097030360d1 # v2.0.0
20+
21+
deploy:
22+
if: ${{ github.ref == 'refs/heads/main' }}
23+
needs: build
24+
runs-on: ubuntu-latest
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
permissions:
29+
contents: read
30+
pages: write
31+
id-token: write
32+
33+
steps:
34+
- name: "Deploy to GitHub Pages"
35+
id: deployment
36+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ pnpm-debug.log*
1919

2020
# macOS-specific files
2121
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

astro.config.mjs

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
1-
import { defineConfig } from 'astro/config';
1+
import { defineConfig } from "astro/config";
22
import sentry from "@sentry/astro";
3-
import spotlightjs from "@spotlightjs/astro";
4-
import vercel from "@astrojs/vercel/serverless";
5-
import preact from "@astrojs/preact";
6-
import tailwind from "@astrojs/tailwind";
73

8-
// https://astro.build/config
94
export default defineConfig({
10-
site: "https://bradley.dog",
115
integrations: [
126
sentry({
13-
dsn: "https://[email protected]/4506532398432256",
7+
dsn: "https://[email protected].us.sentry.io/4506532398432256",
148
sourceMapsUploadOptions: {
159
project: "bradley-dog",
1610
authToken: process.env.SENTRY_AUTH_TOKEN,
1711
},
1812
}),
19-
spotlightjs(), preact(), tailwind()
2013
],
21-
output: "server",
22-
adapter: vercel({
23-
webAnalytics: {
24-
enabled: true
25-
},
26-
speedInsights: {
27-
enabled: true
28-
}
29-
})
3014
});

0 commit comments

Comments
 (0)