16 lines
494 B
YAML
16 lines
494 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: npm run build
|
|
- run: apt update && apt install ncftp -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 }}
|