parent
2a0483b9cd
commit
80844ce349
1 changed files with 19 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue