Skip to content

🔁 Update Setlists #3

🔁 Update Setlists

🔁 Update Setlists #3

name: Update Setlists
on:
repository_dispatch:
types: [ updateSetlists, updateAll ]
workflow_dispatch:
permissions:
contents: write
jobs:
updateSetlists:
name: "Update Setlists"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Fetch files from YARC-Official/Official-Setlist-Public"
uses: actions/checkout@v3
with:
repository: "YARC-Official/Official-Setlist-Public"
sparse-checkout: setlists
path: api
- name: "[temporary] List all files"
run: ls && ls api && ls api/setlists
# - name: "Commit and save changes"
# run: |
# git config --global user.name "GitHub Actions"
# git config --global user.email "[email protected]"
# git add api/setlists/*
# git commit -m "chore: update setlists"
# git push