Skip to content

update-star-distribution #1

update-star-distribution

update-star-distribution #1

name: update-star-distribution
on:
workflow_dispatch:
schedule:
- cron: '54 22 * * *'
jobs:
deploy:
name: Update star distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: ByteLegend/ByteLegend
submodules: recursive
token: ${{ secrets.BYTELEGENDBOT_TOKEN }}
- name: Gradle build
uses: gradle/gradle-build-action@v2
with:
arguments: server:dal-dynamodb:updateStarDistribution -Ddynamodb.serverLocation=Seoul -Ddynamodb.accessKeyId=${{ secrets.DYNAMODB_ADMIN_ACCESS_KEY_ID }} -Ddynamodb.secretAccessKey=${{ secrets.DYNAMODB_ADMIN_SECRET_ACCESS_KEY }} -DagreePublicBuildScanTermOfService=yes