Skip to content

Commit

Permalink
wip: setlist updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantotone committed Jul 27, 2023
1 parent ae3959a commit e9fad93
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/update-setlists.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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/setlist

- name: "[temporary] List all files"
run: ls && ls api && ls api/setlist

# - 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

Empty file added api/setlist/delete.md
Empty file.

0 comments on commit e9fad93

Please sign in to comment.