diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8a71461b55..168b487427 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,33 +30,3 @@ jobs: env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DOCS_SITE_ID }} - deploy-branch: - runs-on: ubuntu-latest - defaults: - run: - working-directory: docs/ - if: - contains(' - refs/heads/release- - ', github.ref) - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 12.x - - name: Build the Docs - run: npm ci && npm run build - - name: Deploy to Netlify for preview - uses: nwtgck/actions-netlify@v1.2.2 - with: - publish-dir: './docs/public' - production-branch: devel - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: Deploy from GitHub Actions ${{ github.event.pull_request.title }} - netlify-config-path: './docs/netlify.toml' - alias: ${{ github.head_ref }} - enable-pull-request-comment: false - enable-commit-comment: false - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DOCS_SITE_ID }} diff --git a/.github/workflows/guide.yml b/.github/workflows/guide.yml index b4c00822e5..4a8a7f1ce5 100644 --- a/.github/workflows/guide.yml +++ b/.github/workflows/guide.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: guide/site/ + working-directory: guide/ steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -19,7 +19,7 @@ jobs: - name: Deploy to Netlify for preview uses: nwtgck/actions-netlify@v1.2.2 with: - publish-dir: './guide/site/public' + publish-dir: './guide/public' production-branch: devel github-token: ${{ secrets.GITHUB_TOKEN }} deploy-message: Deploy from GitHub Actions ${{ github.event.pull_request.title }} @@ -30,34 +30,3 @@ jobs: env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GUIDE_SITE_ID }} - deploy-branch: - runs-on: ubuntu-latest - defaults: - run: - working-directory: guide/site/ - if: - contains(' - refs/heads/release- - ', github.ref) - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Build the Guide - run: npm ci && npm run build - - name: Deploy to Netlify for preview - uses: nwtgck/actions-netlify@v1.2.2 - with: - publish-dir: './guide/site/public' - production-branch: devel - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: Deploy from GitHub Actions ${{ github.event.pull_request.title }} - netlify-config-path: './guide/netlify.toml' - alias: ${{ github.head_ref }} - enable-pull-request-comment: false - enable-commit-comment: false - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GUIDE_SITE_ID }} -