Skip to content

Backend changes for user metrics in game #49

Backend changes for user metrics in game

Backend changes for user metrics in game #49

Workflow file for this run

name: Build and Publish
on: [ push, pull_request ]
jobs:
build:
name: Test and Build
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v4
# Build application
- name: Test and Build
run: ./gradlew build
# If main branch update, deploy to gh-pages
- name: Deploy
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: frontend/build/kotlin-webpack/js/productionExecutable # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy