summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJake Zerrer <him@jakezerrer.com>2025-11-30 12:31:01 -0500
committerJake Zerrer <him@jakezerrer.com>2025-11-30 17:27:46 -0500
commit119cf7f780375187dbe3d064263a9de3a17f538d (patch)
tree376d48fc42d19ed49ca3f740e7c0e4c15596d11d /.github/workflows
parent034e30d70aeac7ce18f34be6a1c211730e9fd7fb (diff)
Move from github pages to server
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml66
1 files changed, 0 insertions, 66 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index 1431b13..0000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-name: Build and Deploy to GitHub Pages
-
-on:
- push:
- branches: [ main ]
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-concurrency:
- group: "pages"
- cancel-in-progress: false
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v5
-
- - name: Setup Java
- uses: actions/setup-java@v4
- with:
- distribution: 'temurin'
- java-version: '17'
-
- - name: Cache Clojure dependencies
- uses: actions/cache@v4
- with:
- path: |
- ~/.m2/repository
- ~/.gitlibs
- ~/.deps.clj
- key: ${{ runner.os }}-clojure-${{ hashFiles('**/deps.edn') }}
- restore-keys: |
- ${{ runner.os }}-clojure-
-
- - name: Install Clojure CLI tools
- uses: DeLaGuardo/setup-clojure@13.4
- with:
- cli: 1.12.1.1550
-
- - name: Build site
- run: clojure -M -m core
-
- - name: Setup Pages
- uses: actions/configure-pages@v5
-
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: 'target/html'
-
- deploy:
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- runs-on: ubuntu-latest
- needs: build
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v4