Skip to content

Merge pull request #106 from damienfinck/add_wallix_dynamic_folder #36

Merge pull request #106 from damienfinck/add_wallix_dynamic_folder

Merge pull request #106 from damienfinck/add_wallix_dynamic_folder #36

name: Dynamic Folder Index CI
on:
push:
# Only trigger this on master branch
branches: [ main, master ]
paths:
# Only trigger this on changes to .rdfe and .rdfx files within the "Dynamic Folder" folder
- "Dynamic Folder/**.rdfe"
- "Dynamic Folder/**.rdfx"
# Allow us to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
update-index:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Run Rebuild Index Python Script
working-directory: ./Dynamic Folder
run: python3 rebuildindex.py
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: "[ci] Dynamic Folder Index updated"
title: "[ci] Dynamic Folder Index updated"
body: "The Dynamic Folder Index was updated automatically by CI"