From 1f9b2e70a4058c668f8e8a355f8f527b3bbf0174 Mon Sep 17 00:00:00 2001 From: gioboa Date: Tue, 19 Nov 2024 23:25:03 +0100 Subject: [PATCH] Revert "docs: add GH action to deploy docs" This reverts commit 97ce42daa08cca7877268d5e6f59c8d732b26ca2. --- .github/workflows/deploy-docs.yml | 44 ------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/deploy-docs.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index 55837906..00000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Deploy Docs -on: - push: - branches: [ main ] - -jobs: - deploy: - name: Cloudflare Pages Deployment - if: > - github.repository == 'QwikDev/partytown' - runs-on: ubuntu-latest - permissions: - contents: read - deployments: write - - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - - - uses: pnpm/action-setup@v4.0.0 - - - name: Setup Node - uses: actions/setup-node@v4.0.2 - with: - node-version: 20.10.0 - cache: 'pnpm' - registry-url: https://registry.npmjs.org/ - - - run: corepack enable - - - name: Install NPM Dependencies - run: pnpm install --frozen-lockfile - - - name: Build - run: pnpm build.site - - - name: Deploy to Cloudflare Pages - uses: cloudflare/pages-action@v1 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: partytown-docs - directory: dist - gitHubToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file