summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml26
-rw-r--r--.github/workflows/deploy.yaml38
2 files changed, 0 insertions, 64 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
deleted file mode 100644
index ebe17b6..0000000
--- a/.github/workflows/ci.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: ci
-
-on:
- pull_request:
- branches: [main]
- push:
- branches: [main]
-
-jobs:
- format:
- runs-on: ubuntu-latest
-
- steps:
- - name: checkout repository
- uses: actions/checkout@v3
-
- - name: install nix
- uses: cachix/install-nix-action@v20
-
- - uses: cachix/cachix-action@v12
- with:
- name: getchoo
- authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
-
- - name: build
- run: nix build
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
deleted file mode 100644
index f1d9155..0000000
--- a/.github/workflows/deploy.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: deploy to gh pages
-
-on:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
-
- - name: install Nix
- uses: cachix/install-nix-action@v20
-
- - name: build site
- run: |
- nix shell nixpkgs#{bash,nodejs,nodePackages.yarn} \
- --command bash -c 'yarn install -D && yarn build'
-
- - name: setup pages
- uses: actions/configure-pages@v3
-
- - name: upload artifact
- uses: actions/upload-pages-artifact@v1
- with:
- path: "dist"
-
- - name: deploy
- id: deployment
- uses: actions/deploy-pages@v1