From b80c253aa7b27fc652bad237b84ecaa0ac1931fd Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Wed, 27 Sep 2023 14:52:58 +0200 Subject: [PATCH] vercel more removal --- .github/workflows/python-package.yml | 49 ---------------------------- 1 file changed, 49 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 9b45174d..322d7588 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -136,52 +136,3 @@ jobs: with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} - - vercel-deploy-prod: - runs-on: ubuntu-latest - needs: [build] - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: 3.9 - cache: 'pip' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements-dev.txt - flit install --symlink - git clone https://github.com/stsewd/tree-sitter-rst - cd tree-sitter-rst - git checkout 3fc88d2097bc854ab6bf70c52b3c482849cf8e8f - cd - - papyri build-parser - - uses: actions/download-artifact@v3 - with: - name: doc-bundles - path: ~/.papyri/data/ - - - name: Ingest and Render - run: | - papyri install ~/.papyri/data/*.zip - papyri relink - papyri render - - - name: Install Vercel CLI - run: npm install --global vercel@latest - - - name: Deploy Project Artifacts to Vercel - id: vercel - working-directory: "/home/runner/.papyri/html" - run: | - vercel --version - vercel pull --yes --environment=production --token=$VERCEL_TOKEN - vercel build --prod --token=$VERCEL_TOKEN - vercel deploy --prebuilt --prod --archive=tgz --token=$VERCEL_TOKEN --meta commit=${{ github.sha }}--${{ github.run_id }} - env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}