diff --git a/.github/workflows/realm-empty-env.yml b/.github/workflows/realm-empty-env.yml deleted file mode 100644 index 9150fee5a0..0000000000 --- a/.github/workflows/realm-empty-env.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Realm Deploy to Empty Environment - -on: - push: - branches: - - staging - workflow_dispatch: - -jobs: - push: - runs-on: ubuntu-latest - environment: empty - steps: - - uses: actions/checkout@v2 - - name: "Install the Realm CLI" - run: | - npm install -g mongodb-realm-cli - - name: Login - run: | - realm-cli login --api-key="${{ secrets.REALM_API_PUBLIC_KEY }}" --private-api-key="${{ secrets.REALM_API_PRIVATE_KEY }}" --realm-url https://services.cloud.mongodb.com --atlas-url https://cloud.mongodb.com - - name: Push - run: | - cd site/realm - realm-cli push --remote="${{ secrets.GATSBY_REALM_APP_ID }}" -y -