parent
a2768d3b7f
commit
37cfbb0313
2 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/deploy.yml
Normal file
18
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
container: eclipse-temurin:21-alpine
|
||||||
|
steps:
|
||||||
|
- 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/4/artifacts/artifact && unzip artifact
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: java -jar blog-software-java-1.0-SNAPSHOT.jar
|
||||||
|
|
||||||
|
#- run: apt update && apt install ncftp -y
|
||||||
|
|
||||||
|
#- run: ncftpput -R -u ${{ secrets.FTP_USER }} -p ${{ secrets.FTP_PASSWORD }} ${{ secrets.FTP_SERVER }} html/ generated_out/
|
Loading…
Add table
Reference in a new issue