dn42-info/.forgejo/workflows/deploy.yml
Minecon724 296a5d3429
Some checks failed
/ deploy (push) Failing after 24s
actually fix workflow
2024-10-11 11:26:42 +02:00

15 lines
486 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 install ftp -y && 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 }}