Skip to content

fix

fix #16

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build WAR file
run: mvn clean package -DskipTests
- name: Deploy to staging
run: |
echo "Deployment would occur here"
echo "Built WAR: target/*.war"
# Add actual deployment steps (e.g., SCP, Docker push, etc.)