Skip to content

Commit

Permalink
Start over (#25)
Browse files Browse the repository at this point in the history
* 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
shenanigansd authored Jun 26, 2024
1 parent c99fe20 commit 9536cde
Show file tree
Hide file tree
Showing 33 changed files with 272 additions and 2,420 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
ci-dependencies:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/site-deploy.yaml
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ pnpm-debug.log*

# macOS-specific files
.DS_Store

# jetbrains setting folder
.idea/
20 changes: 2 additions & 18 deletions astro.config.mjs
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
}
})
});
Loading

0 comments on commit 9536cde

Please sign in to comment.