Skip to content

Commit f2eec93

Browse files
authored
ci: 👷 minor updates to make things clearer (#24)
## Description This PR updates some of the workflows to use the correct reusable ones as well as to simplify the language a bit and remove any left over commented out code. <!-- Select quick/in-depth as necessary --> This PR needs a quick review.
2 parents 5e87d20 + 66acef9 commit f2eec93

File tree

5 files changed

+36
-113
lines changed

5 files changed

+36
-113
lines changed

.github/workflows/build-package.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build package
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths-ignore:
8+
# Config files
9+
- ".github/**"
10+
- ".vscode/**"
11+
- ".gitignore"
12+
# Documentation
13+
- "docs/**"
14+
- "*.md"
15+
- "*.qmd"
16+
- "justfile"
17+
# Website files
18+
- _quarto.yml
19+
- index.qmd
20+
- _publish.yml
21+
- _extensions/**
22+
push:
23+
branches:
24+
- main
25+
26+
jobs:
27+
lint:
28+
uses: seedcase-project/.github/.github/workflows/reusable-lint-python.yml@main
29+
30+
test:
31+
uses: seedcase-project/.github/.github/workflows/reusable-test-python.yml@main
32+
needs: lint

.github/workflows/deploy-docs.yml renamed to .github/workflows/build-website.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy documentation as website
1+
name: Build website of documentation
22

33
on:
44
push:
@@ -12,7 +12,7 @@ on:
1212
- _extensions/**
1313

1414
jobs:
15-
build-deploy-docs:
16-
uses: seedcase-project/.github/.github/workflows/deploy-docs-with-python.yml@main
15+
build-website:
16+
uses: seedcase-project/.github/.github/workflows/reusable-build-docs-with-python.yml@main
1717
secrets:
1818
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}

.github/workflows/deploy-demo.yml

-44
This file was deleted.

.github/workflows/deploy-pr-preview.yml

-65
This file was deleted.

.github/workflows/puml-to-svg.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ on:
77

88
jobs:
99
generate-plantuml:
10-
uses: seedcase-project/.github/.github/workflows/puml-to-svg.yml@main
10+
uses: seedcase-project/.github/.github/workflows/reusable-puml-to-svg.yml@main
1111
secrets:
1212
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)