SpotiFlyer/.github/workflows/maintenance.yml

37 lines
901 B
YAML
Raw Normal View History

name: Maintenance
on: [ pull_request ]
#workflow_dispatch:
#schedule:
# - cron: '0 0 * * *' #once a day
jobs:
build:
2021-05-18 17:06:30 +02:00
name: Maintenance Time
runs-on: ubuntu-latest
steps:
# Setup Java environment for the next steps
- name: Setup Java
2022-01-28 03:01:57 +01:00
uses: actions/setup-java@v2
with:
2022-01-28 03:01:57 +01:00
distribution: 'zulu'
java-version: 15
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3
# Run Maintenance Tasks
2021-05-18 17:06:30 +02:00
- name: Maintenance Run
run: ./gradlew :maintenance-tasks:run
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
OWNER_NAME: 'Shabinder'
REPO_NAME: 'SpotiFlyer'
BRANCH_NAME: 'main'
FILE_PATH: 'README.md'
IMAGE_DESCRIPTION: 'Analytics'
2021-06-05 21:10:04 +02:00
COMMIT_MESSAGE: 'Analytics & Download Card Updated'
TAG_NAME: 'HTI'