diff --git a/.envrc b/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e2619d7 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,41 @@ +# Initially taken from +# https://github.com/withastro/action/blob/b7d53628f8b666036b0238aadb0b984a2a489f26/README.md +name: Deploy Astro site to GH Pages + +on: + push: + branches: [main] + # Allows you to run this workflow manually from the Actions tab on GitHub. + workflow_dispatch: + +# Allow this job to clone the repo and create a page deployment +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v6 + - name: Install, build, and upload your site output + uses: withastro/action@v6 + # with: + # path: . # The root location of your Astro project inside the repository. (optional) + # node-version: 24 # The specific version of Node that should be used to build your site. Defaults to 24. (optional) + # package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) + # build-cmd: pnpm run build # The command to run to build your site. Runs the package build script/task by default. (optional) + # out-dir: dist # The output directory created by the build command. Defaults to dist. (optional) + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy Astro site to GH Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/bustling-binary/.gitignore b/.gitignore similarity index 100% rename from bustling-binary/.gitignore rename to .gitignore diff --git a/bustling-binary/README.md b/README.md similarity index 100% rename from bustling-binary/README.md rename to README.md diff --git a/bustling-binary/astro.config.mjs b/astro.config.mjs similarity index 58% rename from bustling-binary/astro.config.mjs rename to astro.config.mjs index e762ba5..bd19a7c 100644 --- a/bustling-binary/astro.config.mjs +++ b/astro.config.mjs @@ -2,4 +2,6 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config -export default defineConfig({}); +export default defineConfig({ + site: "https://demsem.dev", +}); diff --git a/bustling-binary/package-lock.json b/package-lock.json similarity index 100% rename from bustling-binary/package-lock.json rename to package-lock.json diff --git a/bustling-binary/package.json b/package.json similarity index 100% rename from bustling-binary/package.json rename to package.json diff --git a/CNAME b/public/CNAME similarity index 100% rename from CNAME rename to public/CNAME diff --git a/bustling-binary/public/android-chrome-192x192.png b/public/android-chrome-192x192.png similarity index 100% rename from bustling-binary/public/android-chrome-192x192.png rename to public/android-chrome-192x192.png diff --git a/bustling-binary/public/android-chrome-512x512.png b/public/android-chrome-512x512.png similarity index 100% rename from bustling-binary/public/android-chrome-512x512.png rename to public/android-chrome-512x512.png diff --git a/bustling-binary/public/apple-touch-icon.png b/public/apple-touch-icon.png similarity index 100% rename from bustling-binary/public/apple-touch-icon.png rename to public/apple-touch-icon.png diff --git a/bustling-binary/public/favicon-16x16.png b/public/favicon-16x16.png similarity index 100% rename from bustling-binary/public/favicon-16x16.png rename to public/favicon-16x16.png diff --git a/bustling-binary/public/favicon-32x32.png b/public/favicon-32x32.png similarity index 100% rename from bustling-binary/public/favicon-32x32.png rename to public/favicon-32x32.png diff --git a/bustling-binary/public/favicon.ico b/public/favicon.ico similarity index 100% rename from bustling-binary/public/favicon.ico rename to public/favicon.ico diff --git a/bustling-binary/src/components/Footer.astro b/src/components/Footer.astro similarity index 100% rename from bustling-binary/src/components/Footer.astro rename to src/components/Footer.astro diff --git a/bustling-binary/src/components/Header.astro b/src/components/Header.astro similarity index 100% rename from bustling-binary/src/components/Header.astro rename to src/components/Header.astro diff --git a/bustling-binary/src/components/Navigation.astro b/src/components/Navigation.astro similarity index 100% rename from bustling-binary/src/components/Navigation.astro rename to src/components/Navigation.astro diff --git a/bustling-binary/src/components/Social.astro b/src/components/Social.astro similarity index 100% rename from bustling-binary/src/components/Social.astro rename to src/components/Social.astro diff --git a/bustling-binary/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro similarity index 100% rename from bustling-binary/src/layouts/BaseLayout.astro rename to src/layouts/BaseLayout.astro diff --git a/bustling-binary/src/pages/about.astro b/src/pages/about.astro similarity index 100% rename from bustling-binary/src/pages/about.astro rename to src/pages/about.astro diff --git a/bustling-binary/src/pages/blog.astro b/src/pages/blog.astro similarity index 100% rename from bustling-binary/src/pages/blog.astro rename to src/pages/blog.astro diff --git a/bustling-binary/src/pages/index.astro b/src/pages/index.astro similarity index 100% rename from bustling-binary/src/pages/index.astro rename to src/pages/index.astro diff --git a/bustling-binary/src/styles/global.css b/src/styles/global.css similarity index 100% rename from bustling-binary/src/styles/global.css rename to src/styles/global.css diff --git a/bustling-binary/tsconfig.json b/tsconfig.json similarity index 100% rename from bustling-binary/tsconfig.json rename to tsconfig.json