m724.eu/.forgejo/workflows/deploy.yml
Minecon724 7d4119c070
Some checks failed
/ deploy (push) Failing after 8s
okay almost there
2025-01-18 21:28:52 +01:00

20 lines
No EOL
653 B
YAML

on: [push]
jobs:
deploy:
runs-on: docker
container: eclipse-temurin:21-alpine
steps:
- run: apk add git curl
- name: Clone repo
run: git clone https://git.m724.eu/Minecon724/m724.eu .
- name: Download compiler
run: curl -O https://git.m724.eu/Minecon724/blog-software-java/actions/runs/5/artifacts/artifact && unzip artifact
- name: Build
run: java -cp blog-software-java-1.0-SNAPSHOT.jar eu.m724.blog.Main
#- run: apt update && apt install ncftp -y
#- run: ncftpput -R -u ${{ secrets.FTP_USER }} -p ${{ secrets.FTP_PASSWORD }} ${{ secrets.FTP_SERVER }} html/ generated_out/