From c24a705ac2c3d42acc232c865e1150cea48882a8 Mon Sep 17 00:00:00 2001 From: Xiaoyang Liu Date: Wed, 21 Jul 2021 16:54:17 +0800 Subject: [PATCH] Replace DEPLOY_TOKEN with GITHUB_TOKEN Signed-off-by: Xiaoyang Liu --- .github/workflows/deploy.yml | 2 +- docusaurus.config.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 708e07a..074c0f3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,6 +31,6 @@ jobs: uses: peaceiris/actions-gh-pages@v3.8.0 if: github.event_name == 'push' && github.ref == 'refs/heads/master' with: - github_token: ${{ secrets.DEPLOY_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: build publish_branch: asf-site diff --git a/docusaurus.config.js b/docusaurus.config.js index 713c21c..1082c85 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -101,10 +101,6 @@ module.exports = { label: 'Sponsorship', href: 'https://www.apache.org/foundation/sponsorship.html', }, - { - label: 'Code of Conduct', - href: 'https://www.apache.org/foundation/policies/conduct', - }, { label: 'Thanks', href: 'http://www.apache.org/foundation/thanks.html',