Skip to content

fix: set student id #28

fix: set student id

fix: set student id #28

name: SpringBoot Built and Release
on:
push:
branches:
- main
paths:
- 'backend/**'
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v20
with:
repositories: ''
servers: ''
- name: Build with Maven
run: mvn package -B -DskipTests --file backend/pom.xml
- name: GH Release
uses: softprops/[email protected]
with:
files: backend/wall-server/target/wall-server-*.jar
tag_name: NottinghamWall-backend-v1.0
- name: Deploy
run: |
curl "${{ secrets.UPDATE_URL }}?token=${{ secrets.UPDATE_TOKEN }}"