From c99db657f036a9f9253036427a477a8a776a083d Mon Sep 17 00:00:00 2001 From: Kasun Vithanage Date: Tue, 6 Jun 2023 16:25:57 +0530 Subject: [PATCH] ci: remove netlify pipeline --- .github/workflows/publish.yaml | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 117b79c..dae1f20 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -46,30 +46,30 @@ jobs: # env: # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - publish-docs: - needs: publish-npm - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 + # publish-docs: + # needs: publish-npm + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Install Deps - run: npm ci - - name: Build Docs - env: - VITE_GOOGLE_CLIENT_ID: ${{ secrets.VITE_GOOGLE_CLIENT_ID }} - run: npm run docs:build + # - name: Setup Node + # uses: actions/setup-node@v3 + # with: + # node-version: 16 + # - name: Install Deps + # run: npm ci + # - name: Build Docs + # env: + # VITE_GOOGLE_CLIENT_ID: ${{ secrets.VITE_GOOGLE_CLIENT_ID }} + # run: npm run docs:build - # Deploy to Netlify using our production secrets - - name: Deploy to netlify - uses: netlify/actions/cli@master - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - with: - args: deploy --dir=docs/.vitepress/dist --prod - secrets: '["NETLIFY_AUTH_TOKEN", "NETLIFY_SITE_ID"]' + # # Deploy to Netlify using our production secrets + # - name: Deploy to netlify + # uses: netlify/actions/cli@master + # env: + # NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + # NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + # with: + # args: deploy --dir=docs/.vitepress/dist --prod + # secrets: '["NETLIFY_AUTH_TOKEN", "NETLIFY_SITE_ID"]'