mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 11:03:27 +00:00
Disable server deployment in PRs
This commit is contained in:
parent
c4723ac178
commit
3aca308572
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -117,13 +117,13 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and publish server
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
if: matrix.platform == 'ubuntu-latest' && github.event_name != 'pull_request'
|
||||
uses: ./.github/actions/build-and-publish-server
|
||||
with:
|
||||
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Deploy Spacedrive Server to Kubernetes
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
if: matrix.platform == 'ubuntu-latest' && github.event_name != 'pull_request'
|
||||
env:
|
||||
K8S_KUBECONFIG: ${{ secrets.K8S_KUBECONFIG }}
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue