From 91e4be2cf2c8ec079931800ff9e589f2442ad2bc Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Sun, 19 May 2024 20:31:02 -0400 Subject: [PATCH] :rocket: set up server (#131) :rocket: update sitemap :art: clean landing :fire: ditch github pages --- .github/workflows/astro.yml | 49 --------------------- workspaces/website/src/pages/index.astro | 2 +- workspaces/website/src/pages/sitemap.xml.ts | 6 +-- 3 files changed, 4 insertions(+), 53 deletions(-) delete mode 100644 .github/workflows/astro.yml diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml deleted file mode 100644 index ef46ff5..0000000 --- a/.github/workflows/astro.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: GitHub Pages - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-22.04 - permissions: - contents: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '20' - - name: Latest npm - run: npm install -g npm@latest - - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - run: npm i - - run: npm run build - env: - AIRTABLE_API_KEY: ${{secrets.AIRTABLE_API_KEY}} - AIRTABLE_BASE_ID: ${{secrets.AIRTABLE_BASE_ID}} - - run: npm run site-files - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} - with: - personal_token: ${{ secrets.PERSONAL_TOKEN }} - publish_dir: ./workspaces/website/dist - publish_branch: main - external_repository: scottnath/scottnath.github.io \ No newline at end of file diff --git a/workspaces/website/src/pages/index.astro b/workspaces/website/src/pages/index.astro index f3fe95b..6c46fa1 100644 --- a/workspaces/website/src/pages/index.astro +++ b/workspaces/website/src/pages/index.astro @@ -24,7 +24,7 @@ import { SITE_TITLE, SITE_SUBTITLE, SITE_DESCRIPTION, SCOTT_SHORT_DESC } from '.