Hi GitHub Community!
I’m starting my journey with GitHub Actions and I was wondering if the following is possible.
In my application I am trying to remove folders that are empty and are only needed when a copy of the app goes to somebody’s server. I don’t want to keep them in a repo because they’re empty but in my staging/dev environment I do have files there for testing the app.
I would like the action to add those empty folders to the release *.zip files. Is that possible?
I started with:
name: CI on: release: types: [ created ] branches: [ master ] build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run the build php script run: php ./.github/workflows/build.php
And I was going to add
mkdir("my dir") to the
build.php but I think I’m missing the component that actually adds it to the release but not the repo