feat: add dashboard change password function #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |