From 4df411f9b80b93c2dfe63c34bd4711832ab5ef43 Mon Sep 17 00:00:00 2001 From: Abhilasha Narendra <53602601+abhilasha-narendra@users.noreply.github.com> Date: Fri, 25 Jun 2021 18:04:22 +0530 Subject: [PATCH] Delete deploy-mongo-da-test-branch.yml Former-commit-id: 415940749c354c8bf541c74fa777e8de5eede172 --- .../workflows/deploy-mongo-da-test-branch.yml | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/deploy-mongo-da-test-branch.yml diff --git a/.github/workflows/deploy-mongo-da-test-branch.yml b/.github/workflows/deploy-mongo-da-test-branch.yml deleted file mode 100644 index f4581292586..00000000000 --- a/.github/workflows/deploy-mongo-da-test-branch.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Deploy MongoDB FDW upcoming release branch to Netlify -on: - push: - branches: - - content/mongo_data_adapter/5.2.9/upcoming_release -jobs: - build-deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: content/mongo_data_adapter/5.2.9/upcoming_release - fetch-depth: 0 # fetch whole repo so git-restore-mtime can work - - name: Update submodules - run: git submodule update --init --remote - - name: Adjust file watchers limit - run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - - - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - name: Install yarn - run: sudo npm -g install yarn - - name: Yarn install - run: yarn install --immutable - env: - NODE_ENV: ${{ secrets.NODE_ENV }} - - - name: Checking Gatsby cache - id: gatsby-cache-build - uses: actions/cache@v2 - with: - path: | - public - .cache - key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }} - restore-keys: | - ${{ runner.os }}-gatsby-build-develop- - - - name: Fix mtimes - run: yarn fix-mtimes --force - - name: Gatsby build - run: yarn build - env: - APP_ENV: staging - NODE_ENV: ${{ secrets.NODE_ENV }} - NODE_OPTIONS: --max-old-space-size=4096 - ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} - ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} - ALGOLIA_INDEX_NAME: edb-docs-staging - INDEX_ON_BUILD: false - - - name: Netlify deploy - run: | - sudo yarn global add netlify-cli - netlify deploy --dir=public --prod - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_WIP2_SITE_ID }}