This commit is contained in:
philipp 2023-11-18 22:36:13 +01:00
parent 5cc08d657d
commit 262839f276

View File

@ -39,7 +39,7 @@ jobs:
deploy-staging: deploy-staging:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rust:latest container: rust:latest
needs: [build, test] needs: [test]
if: github.ref == 'refs/heads/staging' if: github.ref == 'refs/heads/staging'
steps: steps:
- name: Setup Environment - name: Setup Environment
@ -74,7 +74,7 @@ jobs:
deploy-main: deploy-main:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rust:latest container: rust:latest
needs: [build, test] needs: [test]
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
steps: steps:
- name: Setup Environment - name: Setup Environment