Create .gitkeep #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remove .gitkeep Files | |
on: | |
push: | |
branches: | |
- main # Adjust this branch name if needed | |
workflow_dispatch: # This allows manual triggering of the workflow | |
jobs: | |
remove_gitkeep: | |
runs-on: ubuntu-latest # You can change the runner platform if needed | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Remove .gitkeep files | |
run: | | |
find . -type f -name ".gitkeep" -exec rm -f {} + |