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 }}