Disable server deployment in PRs

This commit is contained in:
Koding Dev 2022-04-30 13:59:12 +10:00 committed by Oscar Beaumont
parent c4723ac178
commit 3aca308572

View file

@ -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: |