mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-24 18:04:33 +01:00
57dae089e2
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
901 B
YAML
37 lines
901 B
YAML
name: Maintenance
|
|
|
|
on: [ pull_request ]
|
|
#workflow_dispatch:
|
|
#schedule:
|
|
# - cron: '0 0 * * *' #once a day
|
|
|
|
jobs:
|
|
build:
|
|
name: Maintenance Time
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
# Setup Java environment for the next steps
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: 15
|
|
|
|
# Check out current repository
|
|
- name: Fetch Sources
|
|
uses: actions/checkout@v3
|
|
|
|
# Run Maintenance Tasks
|
|
- 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'
|
|
COMMIT_MESSAGE: 'Analytics & Download Card Updated'
|
|
TAG_NAME: 'HTI'
|