From 3f4627bd8c58538bca564b10fe00e61a1ca801bd Mon Sep 17 00:00:00 2001 From: guizmo Date: Sun, 5 May 2024 19:23:33 +0200 Subject: [PATCH] Comment outdated build & deploy workflows --- .github/workflows/test.yml | 66 +++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05ef466..cbd1f93 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,40 +16,40 @@ jobs: - name: Run tests run: bun run test - build: - if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - needs: test - steps: - - uses: actions/checkout@v3 - - uses: oven-sh/setup-bun@v1 - - name: Install dependencies - run: bun install - - name: Build web app - run: bun expo export -p web - - name: Setup Pages - if: github.ref == 'refs/heads/main' - uses: actions/configure-pages@v3 - - name: Upload Artifact - if: github.ref == 'refs/heads/main' - uses: actions/upload-pages-artifact@v1 - with: - path: "./dist" + # build: + # if: github.ref == 'refs/heads/main' + # runs-on: ubuntu-latest + # needs: test + # steps: + # - uses: actions/checkout@v3 + # - uses: oven-sh/setup-bun@v1 + # - name: Install dependencies + # run: bun install + # - name: Build web app + # run: bun expo export -p web + # - name: Setup Pages + # if: github.ref == 'refs/heads/main' + # uses: actions/configure-pages@v3 + # - name: Upload Artifact + # if: github.ref == 'refs/heads/main' + # uses: actions/upload-pages-artifact@v1 + # with: + # path: "./dist" - deploy: - if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - needs: build + # deploy: + # if: github.ref == 'refs/heads/main' + # runs-on: ubuntu-latest + # needs: build - permissions: - pages: write - id-token: write + # permissions: + # pages: write + # id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + # environment: + # name: github-pages + # url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + # steps: + # - name: Deploy to GitHub Pages + # id: deployment + # uses: actions/deploy-pages@v2