Skip to content

Commit 508e40c

Browse files
committed
add precommit and fix deploy
1 parent 009d291 commit 508e40c

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ jobs:
3030
- name: "Check out repository"
3131
uses: "actions/checkout@v4"
3232

33-
- name: "Install Conda environment"
34-
uses: "mamba-org/setup-micromamba@v1"
35-
with:
36-
environment-file: "environment.yml"
37-
cache-environment: true
38-
3933
- name: "Render Quarto website"
4034
run: "quarto render ."
4135

@@ -55,4 +49,3 @@ jobs:
5549
- name: "Deploy to GitHub Pages"
5650
id: "deployment"
5751
uses: "actions/deploy-pages@v2"
58-

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: "https://github.com/pre-commit/pre-commit-hooks"
3+
rev: "v5.0.0"
4+
hooks:
5+
- id: "check-added-large-files"
6+
- id: "check-vcs-permalinks"
7+
- id: "check-yaml"
8+
- id: "end-of-file-fixer"
9+
- id: "trailing-whitespace"

0 commit comments

Comments
 (0)