This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
Get ClassIcons #461
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: Get ClassIcons | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
workflow_dispatch: | |
jobs: | |
retrieve: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.BOT_TOKEN }} | |
- name: Set Current Date | |
run: echo "currentdate=$(date '+%Y-%m-%d')" >> $GITHUB_ENV | |
- name: wget file | |
uses: wei/wget@v1 | |
with: | |
args: https://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/roblox/textures/ClassImages.PNG | |
- name: Rename and Move file | |
run: mv ClassImages.PNG "ClassImages/$currentdate ClassImages.png" | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: ClassIcons Update | |
commit_author: GitHub Actions <[email protected]> |