diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 254b8d0..938af8c 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -4,9 +4,7 @@ on: - main jobs: deploy: - runs-on: docker - container: - image: node:alpine + runs-on: based-alpine env: # stable ZONA: zona @@ -15,9 +13,6 @@ jobs: site: ficd.sh site_draft: draft.ficd.sh steps: - - name: Install dependencies - run: | - apk add --no-cache coreutils uv hut git - uses: actions/checkout@v4 - name: build run: | @@ -35,8 +30,9 @@ jobs: run: | cd $GITHUB_WORKSPACE/public-draft tar -cvz . > ../public-draft.tar.gz - - name: authenticate hut + - name: setup hut run: | + apk add --no-cache hut echo "${{ secrets.HUT_TOKEN }}" | hut init >/dev/null - name: deploy main run: hut pages publish -d "$site" "$GITHUB_WORKSPACE/public.tar.gz"