diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index b460c25..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,30 +0,0 @@ -# .github/workflows/publish.yml -name: Generate build on branch - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - name: Build and Push - steps: - - name: git-checkout - uses: actions/checkout@v3 - - - name: Install all dependencies - run: npm install - - - name: Build - run: npm run build - - - name: Push - uses: s0/git-publish-subdir-action@develop - env: - REPO: self - BRANCH: build # The branch name where you want to push the assets - FOLDER: dist # The directory where your assets are generated - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token - MESSAGE: "Build: ({sha}) {msg}" # The commit message diff --git a/index.html b/index.html index 3fbcd9a..4804106 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,11 @@ href="https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,300;0,400;0,500;0,700;0,800;0,900;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya:ital,wght@0,400..900;1,400..900&family=IBM+Plex+Mono:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap" rel="stylesheet"> Orion Reed +
diff --git a/package.json b/package.json index efea247..7c2f74b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite", "prebuild": "node scripts/prebuild.mjs", - "build": "node scripts/prebuild.mjs && vite build", + "build": "node scripts/prebuild.mjs && vite build && cp dist/index.html dist/404.html", "preview": "vite preview" }, "dependencies": { diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 3b97a7d..97588d1 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -26,7 +26,7 @@ export function Header({ dark }: { dark?: boolean }) { - orion reed + orion reed 0 posts