This commit is contained in:
parent
4b4e632a89
commit
6234e27107
1 changed files with 3 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue