We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 976caf8 commit dfb71eeCopy full SHA for dfb71ee
.github/workflows/deploy.yml
@@ -9,6 +9,7 @@ on:
9
10
jobs:
11
create_release:
12
+ if: github.ref == 'refs/heads/master' # Ensures the job runs only on master branch
13
runs-on: ubuntu-latest
14
15
steps:
@@ -38,7 +39,7 @@ jobs:
38
39
- name: Create zip file
40
run: |
41
REPO_NAME=$(basename `git rev-parse --show-toplevel`)
- zip -r ${REPO_NAME}.zip . -x '*.git*' -x '*.github*'
42
+ zip -r ${REPO_NAME}.zip . -x '*.git*' -x '*.github*' -x '*.distignore*'
43
echo "repo_name=${REPO_NAME}" >> $GITHUB_ENV
44
45
- name: Create Release
0 commit comments