Skip to content

Update Artists

Update Artists #367

Workflow file for this run

name: Run
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'src/**'
- '.github/workflows/run.yaml'
schedule:
- cron: "00 1 * * *"
permissions:
contents: write
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run script
env:
API_KEY: ${{ secrets.API_KEY }}
shell: pwsh
run: ./src/main.ps1 | Out-File artists.md
- name: Push file
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add ./artists.md
git commit -am "[Automated changes] Update artists"
git push
shell: pwsh