From a2c5200fe54eddbcba20c37d9d93dd96d8f763a7 Mon Sep 17 00:00:00 2001 From: David Denton Date: Sun, 29 Sep 2024 16:47:28 +0100 Subject: [PATCH] fix token --- .github/workflows/build.yaml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c9ce321..50100da 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,25 +27,8 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v4.0.0 with: - personal_token: ${{ secrets.PUBLIC_TOKEN }} + personal_token: ${{ secrets.TOOLBOX_REPO_TOKEN }} external_repository: http4k/www.http4k.org publish_branch: main publish_dir: src/website/public cname: new.http4k.org - - - - uses: actions/setup-python@v5.2.0 - with: - python-version: '3.12.0' - architecture: 'x64' - - run: pip install -r requirements.txt - - run: ./tools/embed_code.py - - uses: actions/checkout@v4.1.7 - with: - repository: http4k/www.http4k.org - path: tmp - token: ${{ secrets.TOOLBOX_REPO_TOKEN }} - - run: cp -R build/docs-website/docs tmp/ - - run: cp -R src/mkdocs.yml tmp/ - - run: pushd tmp && mkdocs gh-deploy && popd -