From 4d855f047f0ce2f8a5d7c31d85485a38e92fad65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E7=BA=B8=E5=BF=98=E5=BF=A7?= Date: Tue, 10 Dec 2024 14:33:42 +0800 Subject: [PATCH] chore: update analytics script in Head.astro --- .github/workflows/sync-upstream.yml | 20 -------------------- src/components/starlight/Head.astro | 10 +--------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 .github/workflows/sync-upstream.yml diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml deleted file mode 100644 index e28c519af..000000000 --- a/.github/workflows/sync-upstream.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Sync Upstream - -on: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: - -jobs: - sync: - runs-on: ubuntu-latest - - steps: - - name: Sync Upstream - uses: ikxin/sync-upstream@main - with: - github_token: ${{ secrets.SYNC_TOKEN }} - target_repository: "zhcndoc/astro" - target_branch: "upstream" - upstream_repository: "withastro/docs" - upstream_branch: "main" diff --git a/src/components/starlight/Head.astro b/src/components/starlight/Head.astro index e9afe5863..c77bd7d13 100644 --- a/src/components/starlight/Head.astro +++ b/src/components/starlight/Head.astro @@ -20,12 +20,4 @@ const is404 = Astro.url.pathname.endsWith('/404/'); - - - - +