Skip to content

Commit 1446e92

Browse files
committed
Dot GitHub files are now shared across the organization, try new make-website workflow, what could go wrong
1 parent 491c57d commit 1446e92

File tree

8 files changed

+48
-227
lines changed

8 files changed

+48
-227
lines changed

.github/ISSUE_TEMPLATE/1-bug.yml

Lines changed: 0 additions & 145 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2-feature.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/3-question.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/funding.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/make-pypi.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: make-pypi
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
main:
7+
name: Release wheels
8+
runs-on: ubuntu-latest
9+
environment: release
10+
permissions:
11+
id-token: write
12+
steps:
13+
- uses: BrokenSource/BrokenSource@main
14+
name: Broken Setup
15+
16+
- name: Make wheels
17+
run: uv build --wheel --package ${{github.event.repository.name}}
18+
19+
- name: Publish wheels
20+
run: uv publish dist/*
21+
22+
- name: Upload wheels
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: wheels
26+
path: dist/*

.github/workflows/make-website.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ jobs:
1111
steps:
1212
- uses: BrokenSource/BrokenSource@main
1313

14-
- name: Credentials
15-
run: |
16-
git config user.name github-actions[bot]
17-
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18-
git remote set-url origin "https://github.com/${GITHUB_REPOSITORY}.git"
19-
2014
- name: Make Website
21-
run: uv run mkdocs gh-deploy --force --no-history
22-
working-directory: projects/${{github.event.repository.name}}
15+
run: uv run --directory */${{github.event.repository.name}} \
16+
mkdocs gh-deploy --force --no-history

.github/workflows/make-wheels.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: make-wheels
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
main:
7+
name: Release wheels
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: BrokenSource/BrokenSource@main
11+
name: Broken Setup
12+
13+
- name: Make wheels
14+
run: uv build --wheel --package ${{github.event.repository.name}}
15+
16+
- name: Upload wheels
17+
uses: actions/upload-artifact@v4
18+
with:
19+
name: wheels
20+
path: dist/*

0 commit comments

Comments
 (0)