From 676a5350975a95c24df14194bbef570b540c0ce4 Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Tue, 30 Nov 2021 00:18:25 +0530 Subject: [PATCH] removing docs_pr2.yml require some more modification to migrate from travis ci to github actions --- .github/workflows/docs_pr2.yml | 50 ---------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/docs_pr2.yml diff --git a/.github/workflows/docs_pr2.yml b/.github/workflows/docs_pr2.yml deleted file mode 100644 index 0ee44e8105..0000000000 --- a/.github/workflows/docs_pr2.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: docs_PR_2 -on: - workflow_run: - workflows: ["docs_PR_1"] - types: - - completed -jobs : - docs_build_test_PREVIEW_DEPLOY: - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - name: docs - if: ${{github.event_name == 'pull_request' ||'push' || startsWith(github.ref, 'refs/tags/v')}} - run: | - touch .env - echo "COMMIT_RANGE=($COMMIT_RANGE)" > .env - source ci/env.sh - .travis/channel_restriction.sh edge beta master || exit 0 - .travis/affects.sh docs/ .travis || exit 0 - - name : changing docs - env: - VERCEL_TOKEN: ${{secrets.VERCEL_TOKEN}} - GITHUB_TOKEN: ${{secrets.PAT_TOKEN }} - GITHUB_EVENT_BEFORE: ${{ github.event.before }} - GITHUB_EVENT_AFTER: ${{ github.event.after }} - COMMIT_RANGE: ${{ github.event.before }}...${{ github.event.after }} - GITHUB_CONTEXT: ${{ toJson(github.event.pull_request) }} - run : | - cd docs/ - sudo chmod 777 build_pr.sh - sudo chmod 777 publish-preview-docs.sh - sudo chmod 777 .travis/script_pr.sh - source .travis/before_install.sh - source .travis/script_pr.sh - - name: setup-node - uses: actions/checkout@v2 - - name: setup-node - uses: actions/setup-node@v2 - with: - node-version: 'lts/*' - - name: Cache - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-npm-cache-2