💚 Fixes dev runs

This commit is contained in:
Bjorn Lammers
2024-10-20 19:37:43 +02:00
parent 04f6e8feb0
commit 3cd1a7cb41
4 changed files with 26 additions and 7 deletions

View File

@@ -10,10 +10,14 @@ on:
jobs:
generate_file_tree:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Set Up Python
uses: actions/setup-python@v4
@@ -29,4 +33,5 @@ jobs:
git config --global user.name "Dashboard Icons Bot"
git add ../tree.json
git commit -m ":construction_worker: Generate file tree" || exit 0
git push
git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}