add image docker
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 16s

This commit is contained in:
isUnknown 2026-01-08 15:56:06 +01:00
parent a7918a35e2
commit 3cc4da63fb
3 changed files with 26 additions and 18 deletions

View file

@ -9,20 +9,14 @@ jobs:
deploy:
name: Build and Deploy to Production
runs-on: docker
container:
image: forgejo-ci-node:latest
steps:
- name: Checkout code
run: |
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
ls -la
- name: Setup Node.js
run: |
apt-get update -qq && apt-get install -y -qq curl
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y -qq nodejs
node --version
npm --version
- name: Install dependencies
run: |
npm ci
@ -44,7 +38,6 @@ jobs:
PASSWORD: ${{ secrets.PASSWORD }}
PRODUCTION_HOST: ${{ secrets.PRODUCTION_HOST }}
run: |
apt-get install -y -qq lftp
cd dist
lftp -c "
set ftp:ssl-allow no;