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