From 088d37e57929e56b4d14b78da251314e2c7e6e63 Mon Sep 17 00:00:00 2001 From: samzong Date: Sun, 6 Oct 2024 11:18:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Remove=20obsolete?= =?UTF-8?q?=20GitHub=20Actions=20deployment=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eliminate the deploy.yaml file from the GitHub Actions workflows as it is no longer needed for deployment processes. --- .github/workflows/deploy.yaml | 40 ----------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/deploy.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index d0ad397a7..000000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: - - main - # Review gh actions docs if you want to further define triggers, paths, etc - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on - -jobs: - deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: yarn - - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Build website - run: yarn build - - # Popular action to deploy to GitHub Pages: - # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - # Build output to publish to the `gh-pages` branch: - publish_dir: ./build - # The following lines assign commit authorship to the official - # GH-Actions bot for deploys to `gh-pages` branch: - # https://github.com/actions/checkout/issues/13#issuecomment-724415212 - # The GH actions bot is used by default if you didn't specify the two fields. - # You can swap them out with your own user credentials. - user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com From 6fe7598caef5af7af993d3cd7c4fde4cfbb577fb Mon Sep 17 00:00:00 2001 From: samzong Date: Sun, 6 Oct 2024 11:19:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Comment=20out=20PR?= =?UTF-8?q?=20test=20job=20in=20GitHub=20Actions=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: Comment out PR test job in GitHub Actions workflow Comment out the PR test job in the test.yaml workflow file to prevent it from running. This change helps to focus on the size labeler job and avoids unnecessary executions during pull requests. ``` --- .github/workflows/test.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 20e21b8cf..30a13a486 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,20 +9,20 @@ on: jobs: # PR test - pr-test: - name: PR test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: yarn + # pr-test: + # name: PR test + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: actions/setup-node@v3 + # with: + # node-version: 20 + # cache: yarn - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Test build website - run: yarn build + # - name: Install dependencies + # run: yarn install --frozen-lockfile + # - name: Test build website + # run: yarn build # add pull request size label size-labeler: