dn42-info/.forgejo/workflows/deploy.yml
Minecon724 37af76a29b
All checks were successful
/ deploy (push) Successful in 29s
fix workflow for real this time
2024-10-11 11:31:27 +02:00

16 lines
510 B
YAML

on: [push]
jobs:
deploy:
runs-on: docker
container: node:lts
steps:
- run: git clone https://git.m724.eu/Minecon724/dn42-info .
- run: npm i
- run: npx parcel build src/index.html
- run: apt update && apt install ftp -y
- run: chmod +x deploy.sh && ./deploy.sh
env:
FTP_SERVER: ${{ secrets.FTP_SERVER }}
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}