Skip to content

nomad 디플로이 테스트 2 #2

nomad 디플로이 테스트 2

nomad 디플로이 테스트 2 #2

Workflow file for this run

name: Anissia Core Nomad Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
- name: Build and package Spring Boot application with Gradle
run: |
./gradlew clean build
- name: Deploy to Nomad
env:
NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }}
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
run: |
nomad job run anissia-core.nomad