diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f299e2e..db16097 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,9 @@ jobs: ci: uses: ./.github/workflows/main.yml with: - publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' }} + publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' || github.event_name == 'workflow_dispatch' && inputs.type == 'release' }} use-repo-files: true offset: 400 build-m1: true draft: ${{ github.event_name == 'workflow_dispatch' && inputs.type == 'draft' }} - secrets: inherit \ No newline at end of file + secrets: inherit