-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information
1 parent
c99fe20
commit 9536cde
Showing
33 changed files
with
272 additions
and
2,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "Deploy to GitHub Pages" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Install, build, and upload your site" | ||
uses: withastro/action@acfe56dffc635abfb9506c77d51ce097030360d1 # v2.0.0 | ||
|
||
deploy: | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
steps: | ||
- name: "Deploy to GitHub Pages" | ||
id: deployment | ||
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ pnpm-debug.log* | |
|
||
# macOS-specific files | ||
.DS_Store | ||
|
||
# jetbrains setting folder | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,14 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import { defineConfig } from "astro/config"; | ||
import sentry from "@sentry/astro"; | ||
import spotlightjs from "@spotlightjs/astro"; | ||
import vercel from "@astrojs/vercel/serverless"; | ||
import preact from "@astrojs/preact"; | ||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: "https://bradley.dog", | ||
integrations: [ | ||
sentry({ | ||
dsn: "https://[email protected]/4506532398432256", | ||
dsn: "https://[email protected].us.sentry.io/4506532398432256", | ||
sourceMapsUploadOptions: { | ||
project: "bradley-dog", | ||
authToken: process.env.SENTRY_AUTH_TOKEN, | ||
}, | ||
}), | ||
spotlightjs(), preact(), tailwind() | ||
], | ||
output: "server", | ||
adapter: vercel({ | ||
webAnalytics: { | ||
enabled: true | ||
}, | ||
speedInsights: { | ||
enabled: true | ||
} | ||
}) | ||
}); |
Oops, something went wrong.