diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml deleted file mode 100644 index 5019b1b..0000000 --- a/.github/workflows/deno.yml +++ /dev/null @@ -1,61 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -# This workflow will install Deno then run `deno lint` and `deno test`. -# For more information see: https://github.com/denoland/setup-deno - -name: Deno - -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] - -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - - steps: - - name: Setup Repository - uses: actions/checkout@v3 - - - name: Setup Pages - uses: actions/configure-pages@v5 - - - name: Setup Deno - uses: denoland/setup-deno@v2 - with: - deno-version: v2.x - - - name: Build website with lume - run: deno task build - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - # Upload _site directory - path: '_site' - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 - - diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..a5ac38d --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,36 @@ +name: Deploy +on: + push: + branches: main + pull_request: + branches: main + +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + + permissions: + id-token: write # Needed for auth with Deno Deploy + contents: read # Needed to clone the repository + + steps: + - name: Clone repository + uses: actions/checkout@v4 + + - name: Install Deno + uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + + - name: Build step + run: "deno task build" + + - name: Upload to Deno Deploy + uses: denoland/deployctl@v1 + with: + project: "safe-carp-77" + entrypoint: "serve.ts" + root: "" + + diff --git a/CNAME b/CNAME deleted file mode 100644 index b7e5999..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -carlrafting.com \ No newline at end of file