aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/page.yml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-25 11:46:47 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-25 11:47:32 -0700
commitca451c165c8728f63bcacf0b38cd773fe060e076 (patch)
tree0476152f4ca865b31ce182afe5844793770ef0fe /.github/workflows/page.yml
parentuse just as a task runner (diff)
downloadfcuny.net-ca451c165c8728f63bcacf0b38cd773fe060e076.tar.gz
stop using GHA
Diffstat (limited to '')
-rw-r--r--.github/workflows/page.yml40
1 files changed, 0 insertions, 40 deletions
diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml
deleted file mode 100644
index 84fec1e..0000000
--- a/.github/workflows/page.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-name: "Deploy to Pages"
-on:
- push:
- branches: ["main"]
- paths-ignore:
- - ".github/**"
- - "README.md"
- workflow_dispatch:
-permissions:
- contents: read
- pages: write
- id-token: write
-concurrency:
- group: "pages"
- cancel-in-progress: true
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: DeterminateSystems/nix-installer-action@main
- - uses: DeterminateSystems/magic-nix-cache-action@main
- - name: flake check
- run: nix flake check
- - name: Build the site
- run: nix build --print-build-logs
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: ./result
- deploy:
- runs-on: ubuntu-latest
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- needs: build
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v4