diff options
| author | alex <alex@pdp7.net> | 2025-03-15 10:54:12 +0100 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2025-03-15 12:26:40 +0100 |
| commit | b9c92eafc3026dd5f73f3a1b2754de0b4bb0323d (patch) | |
| tree | 081066112a167935fe1db9907ba678b878e6b7a7 /.github | |
| parent | e28553db86742887fbb7fe7e0fd92f1c0ec94233 (diff) | |
Rebuild deployment
- Use uv instead of poetry
- Do not build a container image, just use live uv installing
- Use src layout
- Fix resource handling
Fixes #362
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-blog.yml | 24 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 5 |
2 files changed, 2 insertions, 27 deletions
diff --git a/.github/workflows/build-blog.yml b/.github/workflows/build-blog.yml deleted file mode 100644 index 1d9354d0..00000000 --- a/.github/workflows/build-blog.yml +++ /dev/null @@ -1,24 +0,0 @@ -on: - push: - paths: - - 'blog/**' - branches: - - master - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - run: | - cd blog/ - rustup toolchain install nightly --profile minimal - podman login quay.io -u $BLOG_ROBOT_USERNAME -p $BLOG_ROBOT_TOKEN --authfile ~/docker-config - chmod ugo+r ~/docker-config - ./build.rs --docker-config ~/docker-config . quay.io/alexpdp7/blog:latest - env: - BLOG_ROBOT_USERNAME: ${{ vars.BLOG_ROBOT_USERNAME }} - BLOG_ROBOT_TOKEN: ${{ secrets.BLOG_ROBOT_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e79944b..e5db9021 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,5 @@ jobs: - uses: actions/checkout@v4 - run: | cd blog/ - pipx install poetry - poetry install - poetry run pytest + pipx install uv + uv run pytest |
