From 07ef811c7969bc728ceb6d1bfe692db326fd0f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 27 Sep 2022 11:36:01 +0800 Subject: [PATCH 01/25] feat: add homepage link --- src/components/repo-detail.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/repo-detail.tsx b/src/components/repo-detail.tsx index 0800fb2..3b18fea 100644 --- a/src/components/repo-detail.tsx +++ b/src/components/repo-detail.tsx @@ -238,8 +238,9 @@ export function RepoDetail(props: RepoDetailProps) {
- Flat Viewer a simple tool for - exploring flat data files in GitHub repositories. + + Flat Viewer + a simple tool for exploring flat data files in GitHub repositories.
Date: Tue, 27 Sep 2022 11:46:18 +0800 Subject: [PATCH 02/25] update --- src/components/repo-detail.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/repo-detail.tsx b/src/components/repo-detail.tsx index 3b18fea..815f5be 100644 --- a/src/components/repo-detail.tsx +++ b/src/components/repo-detail.tsx @@ -240,7 +240,8 @@ export function RepoDetail(props: RepoDetailProps) {
Flat Viewer - a simple tool for exploring flat data files in GitHub repositories. + {" "} + a simple tool for exploring flat data files in GitHub repositories.
Date: Tue, 27 Sep 2022 14:06:53 +0800 Subject: [PATCH 03/25] feat text --- src/components/repo-form.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/repo-form.tsx b/src/components/repo-form.tsx index 66548f3..5e8b06f 100644 --- a/src/components/repo-form.tsx +++ b/src/components/repo-form.tsx @@ -7,8 +7,8 @@ import cc from "classcat"; import { Repo } from "../types"; const initialValues: Repo = { - owner: "", - name: "", + owner: "exposir", + name: "playground", }; const validationSchema = object().shape({ @@ -93,7 +93,13 @@ function RepoFormComponent(props: FormikProps) {
- or read the writeup + or read{" "} + + the writeup +
); @@ -109,7 +115,7 @@ export function RepoForm() { validateOnBlur={false} validateOnChange={false} onSubmit={(values) => { - history.push(`/${values.owner}/` + (values.name || '')) + history.push(`/${values.owner}/` + (values.name || "")); }} /> ); From b9a9345fdfd375c568132c41386e389f4da5afe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Wed, 26 Oct 2022 19:01:27 +0800 Subject: [PATCH 04/25] Update repo-form.tsx --- src/components/repo-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/repo-form.tsx b/src/components/repo-form.tsx index 5e8b06f..be27eed 100644 --- a/src/components/repo-form.tsx +++ b/src/components/repo-form.tsx @@ -8,7 +8,7 @@ import { Repo } from "../types"; const initialValues: Repo = { owner: "exposir", - name: "playground", + name: "liwenliang", }; const validationSchema = object().shape({ From a17c0d5dce04e1cd60ddbd1b532eb4cd042a7dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:05:37 +0800 Subject: [PATCH 05/25] Create deploy.yml --- .github/workflows/deploy.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..0bf312b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,31 @@ +name: Deply to GitHub Pages +on: + push: + branches: + - home + +jobs: + deploy: + name: Deploy to GitHub Pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: 14 + cache: yarn # default: npm + - name: Install dependencies + run: yarn + - name: Build + run: yarn build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: ./dist # default: ./public + github_token: ${{ secrets.GIT_TOKEN }} + user_name: ${{ secrets.USER_NAME }} + user_email: ${{ secrets.USER_EMAIL }} + + From aa9dda5f832e180c8d7d9f0c602eb661469f7d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:07:40 +0800 Subject: [PATCH 06/25] Update deploy.yml --- .github/workflows/deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0bf312b..336150a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,8 +6,8 @@ on: jobs: deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest + name: Deploy to GitHub Pages + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 @@ -17,7 +17,7 @@ jobs: node-version: 14 cache: yarn # default: npm - name: Install dependencies - run: yarn + run: yarn - name: Build run: yarn build - name: Deploy @@ -27,5 +27,3 @@ jobs: github_token: ${{ secrets.GIT_TOKEN }} user_name: ${{ secrets.USER_NAME }} user_email: ${{ secrets.USER_EMAIL }} - - From b0c28d1601e0334f457e8354267387fbfa691377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:10:29 +0800 Subject: [PATCH 07/25] Update deploy.yml --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 336150a..3fe226e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,15 +11,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Setup Node.js uses: actions/setup-node@v1 with: node-version: 14 cache: yarn # default: npm + - name: Install dependencies run: yarn + - name: Build run: yarn build + - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: From 0774ed2c9513950f7fd9558d6c2eb68a8e606bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:12:22 +0800 Subject: [PATCH 08/25] Update deploy.yml --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3fe226e..966abb6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,11 +9,9 @@ jobs: name: Deploy to GitHub Pages runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: node-version: 14 cache: yarn # default: npm From 5b00e9e4c31eee3ceae9c9c4ffa9194218f6db5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:15:26 +0800 Subject: [PATCH 09/25] Update deploy.yml --- .github/workflows/deploy.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 966abb6..df2958b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,24 +8,23 @@ jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + steps: + - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - cache: yarn # default: npm + - uses: actions/setup-node@v1 + with: + node-version: 14 - - name: Install dependencies - run: yarn + - name: Install dependencies + run: yarn - - name: Build - run: yarn build + - name: Build + run: yarn build - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - publish_dir: ./dist # default: ./public - github_token: ${{ secrets.GIT_TOKEN }} - user_name: ${{ secrets.USER_NAME }} - user_email: ${{ secrets.USER_EMAIL }} + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: ./dist # default: ./public + github_token: ${{ secrets.GIT_TOKEN }} + user_name: ${{ secrets.USER_NAME }} + user_email: ${{ secrets.USER_EMAIL }} From 94fef976894d952c407c67dd9a1141b9d5114bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:26:42 +0800 Subject: [PATCH 10/25] Delete azure-static-web-apps-kind-pond-00161ce0f.yml --- ...re-static-web-apps-kind-pond-00161ce0f.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-kind-pond-00161ce0f.yml diff --git a/.github/workflows/azure-static-web-apps-kind-pond-00161ce0f.yml b/.github/workflows/azure-static-web-apps-kind-pond-00161ce0f.yml deleted file mode 100644 index 439da5b..0000000 --- a/.github/workflows/azure-static-web-apps-kind-pond-00161ce0f.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request_target: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v2 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: Azure/static-web-apps-deploy@v0.0.1-preview - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_POND_00161CE0F }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### Repository/Build Configurations - These values can be configured to match you app requirements. ###### - # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path - api_location: "api" # Api source code path - optional - output_location: "dist" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: Azure/static-web-apps-deploy@v0.0.1-preview - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_POND_00161CE0F }} - action: "close" From 06c3400afcae22a4a3be3a14d9cade335efc2e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:26:44 +0800 Subject: [PATCH 11/25] Delete dispatch.yml --- .github/workflows/dispatch.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/dispatch.yml diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml deleted file mode 100644 index e9edae7..0000000 --- a/.github/workflows/dispatch.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Repo Events Repository Dispatch - -on: - - issues - - issue_comment - - pull_request - -jobs: - preflight-job: - name: Dispatch - runs-on: ubuntu-latest - steps: - - name: Print Outputs - env: - outputs: ${{ toJSON(github) }} - run: | - echo outputs: $outputs - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v1 - with: - token: ${{ secrets.PAT }} - repository: githubocto/next-devex-workflows # repo to send event to - event-type: repoevents # name of the custom event - client-payload: '{"event": ${{ toJSON(github) }}}' From c6fe624372daac72690074d9954923f64c49852d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:28:37 +0800 Subject: [PATCH 12/25] Update App.tsx --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 42274b4..bdf1303 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { return ( - Flat + Flat-View From aadb18c25d496b35b7e0c9f0ef31b2710ddf0d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:44:23 +0800 Subject: [PATCH 13/25] Trigger rebuild From ddb0497b86e6a603d4593276c91259b1b5a17e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 17:58:50 +0800 Subject: [PATCH 14/25] Create static.yml --- .github/workflows/static.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..ecfa260 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,42 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["home"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "gh-pages" + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v2 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From 0ef4095627900505d49b31477351a3c7e32d0b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:01:40 +0800 Subject: [PATCH 15/25] Update static.yml --- .github/workflows/static.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ecfa260..2ece9f1 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["home"] + branches: ["gh-pages"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,7 +17,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: "gh-pages" + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: @@ -36,7 +36,7 @@ jobs: uses: actions/upload-pages-artifact@v1 with: # Upload entire repository - path: '.' + path: "." - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 From 51d9805f5f49f9648633523a245a1fdc1350dacf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:05:06 +0800 Subject: [PATCH 16/25] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3831dc4..c9bb4d7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Flat Viewer +# Flat 👉🏽 👉🏽 👉🏽 **Full writeup**: [Flat Data Project](https://octo.github.com/projects/flat-data) 👈🏽 👈🏽 👈🏽 From e23fec9efd238e7ff98350265b63e324144674fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:11:48 +0800 Subject: [PATCH 17/25] Update App.tsx --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index bdf1303..42274b4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { return ( - Flat-View + Flat From 41a3c6ab2d043a582dd55cd7f9c939272e80a2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:14:10 +0800 Subject: [PATCH 18/25] Delete static.yml --- .github/workflows/static.yml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 2ece9f1..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages - -on: - # Runs on pushes targeting the default branch - push: - branches: ["gh-pages"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v2 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: "." - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 From 347ecb46c211f9277a708d07af74f218d00fa05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:16:34 +0800 Subject: [PATCH 19/25] Create static.yml --- .github/workflows/static.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..7f23958 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,42 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["gh-pages"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v2 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From 0b17bce997543d5d0b9e672d9dd8da039259e164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:16:51 +0800 Subject: [PATCH 20/25] Update App.tsx --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 42274b4..bdf1303 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { return ( - Flat + Flat-View From 835b5a234fab802af4b3cc43e58f2742b535083a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:20:00 +0800 Subject: [PATCH 21/25] Update static.yml --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 7f23958..65ce450 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,5 +1,5 @@ # Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages +name: Deploy static on: # Runs on pushes targeting the default branch From bef96614e2df1b10300ec9d90c2a8f3b38b62cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:23:52 +0800 Subject: [PATCH 22/25] Delete static.yml --- .github/workflows/static.yml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 65ce450..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static - -on: - # Runs on pushes targeting the default branch - push: - branches: ["gh-pages"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v2 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 From b4e1a58b6a2a05537347c9cfccc393461b8a47b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:50:47 +0800 Subject: [PATCH 23/25] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index df2958b..e971f58 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: - publish_dir: ./dist # default: ./public + publish_dir: ./dist github_token: ${{ secrets.GIT_TOKEN }} user_name: ${{ secrets.USER_NAME }} user_email: ${{ secrets.USER_EMAIL }} From 58792564652dcee6f9eedc0ddf9cd8201d36f29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 18:50:49 +0800 Subject: [PATCH 24/25] Update App.tsx --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index bdf1303..42274b4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { return ( - Flat-View + Flat From c42d2e006a52e4b1c91d3968797ba046a9240708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 3 Jan 2023 19:17:01 +0800 Subject: [PATCH 25/25] Delete deploy.yml --- .github/workflows/deploy.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index e971f58..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deply to GitHub Pages -on: - push: - branches: - - home - -jobs: - deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-node@v1 - with: - node-version: 14 - - - name: Install dependencies - run: yarn - - - name: Build - run: yarn build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - publish_dir: ./dist - github_token: ${{ secrets.GIT_TOKEN }} - user_name: ${{ secrets.USER_NAME }} - user_email: ${{ secrets.USER_EMAIL }}