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

16 lines
460 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:19:34 +02:00
container: node
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
- 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 }}