diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index c65d828..5b25c5d 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -3,18 +3,31 @@ jobs: deploy: runs-on: docker container: - image: alpine:edge + image: python:3.12-slim steps: - - run: apk add npm - - uses: actions/checkout@v4 - name: Install uv - run: apk add uv + run: | + apt-get update && \ + apt-get install -y curl ca-certificates && \ + curl -LsSf https://astral.sh/uv/install.sh | bash + - name: Install git + run: | + apt-get update && apt-get install -y git + - name: Install hut + run: | + apt-get update && apt-get install -y hut + - name: Install node + run: | + apt-get update && apt-get install -y curl gnupg ca-certificates && \ + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ + apt-get install -y nodejs + - uses: actions/checkout@v4 # - name: Configure hut # run: | # apk add hut # echo ${{ secrets.HUT }} | hut init - name: Build run: | - cd ficd.sh - uv run --with "git+https://git.ficd.sh/ficd/ficd.sh" zona build --output public + cd $GITHUB_WORKSPACE + uv run --with "https://git.ficd.sh/ficd/zona.git" zona build --output public ls public