dn42-info/.forgejo/workflows/deploy.yml

17 lines
512 B
YAML
Raw Normal View History

2024-10-11 11:19:34 +02:00
on: [push]
2024-05-12 16:51:11 +02:00
jobs:
deploy:
2024-05-12 17:40:53 +02:00
runs-on: docker
2024-10-11 11:21:52 +02:00
container: node:lts
2024-05-12 16:51:11 +02:00
steps:
2024-10-10 18:13:42 +02:00
- run: git clone https://git.m724.eu/Minecon724/dn42-info .
2024-10-11 11:19:34 +02:00
- run: npm i
- run: npx parcel build src/index.html
2024-10-11 11:36:16 +02:00
- run: apt update && apt install ncftp -y
2024-10-11 11:31:27 +02:00
- run: chmod +x deploy.sh && ./deploy.sh
env:
FTP_SERVER: ${{ secrets.FTP_SERVER }}
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
2024-10-10 18:13:42 +02:00
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}