2024-09-20 02:28:57 +00:00
name : Builder
run-name : ${{ gitea.actor }} building
on :
push :
branches :
- main
jobs :
2024-09-24 00:05:12 +00:00
Build-Project :
2024-09-23 23:52:20 +00:00
runs-on : ubuntu-22.04
2024-09-20 02:28:57 +00:00
steps :
2024-09-24 00:05:12 +00:00
- run : echo "The job was automatically triggered by a ${{ gitea.event_name }} event on branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name : Build package
2024-09-20 02:28:57 +00:00
run : |
2024-09-24 02:19:49 +00:00
git clone https://git.primefactorsolutions.com/PFS/pfs-intra.git && cd pfs-intra && ./mvnw clean package -Pproduction && unlink /home/ubuntu/pfs-intra/app.jar && cp target/*.jar /home/ubuntu/pfs-intra/app.jar && sudo systemctl restart pfs-intra
2024-09-20 02:28:57 +00:00
- run : echo "This job's status is ${{ job.status }}."