- name: Cleanup storybook directory 🧹
uses: maaaathis/delete-remote-directory@v1
env:
API_TOKEN_GITHUB: YourAPITokenForTheTargetRepo
with:
target-github-username: yourName
target-repository-name: yourRepo
target-branch: main
target-directory: "/yourDirectory/is/here"
commit-message: "Cleaned up files"
maaaathis/delete-remote-directory
GitHub Action to delete a remote directory in another repository
ShellMIT