summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/publish.yml49
1 files changed, 0 insertions, 49 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
deleted file mode 100644
index 4366c41..0000000
--- a/.github/workflows/publish.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-name: Deploy Hakyll website to GitHub Pages using Nix
-
-on:
- push:
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-concurrency:
- group: "pages"
- cancel-in-progress: true
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Install Nix
- uses: cachix/install-nix-action@v31
- with:
- github_access_token: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Build Site using Hakyll
- run: nix build
-
- - name: Setup Pages
- id: pages
- uses: actions/configure-pages@v5
-
- - name: Upload Artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: ./result/dist
-
- 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