27 lines
843 B
YAML
27 lines
843 B
YAML
on: [push]
|
|
jobs:
|
|
deploy:
|
|
runs-on: docker
|
|
container:
|
|
image: python:3.12-slim
|
|
steps:
|
|
- name: Install uv
|
|
run: |
|
|
apt-get update && \
|
|
apt-get install -y curl ca-certificates && \
|
|
curl -LsSf https://astral.sh/uv/install.sh | bash
|
|
- 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 $GITHUB_WORKSPACE
|
|
uv run --with "https://git.ficd.sh/ficd/zona.git" zona build --output public
|
|
ls public
|