diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93fa239..78816df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,8 @@ jobs: # Be careful that if this is left too open, it could result in arbitrary file # upload, as the filename is directly derived from the issue title runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 - uses: actions/checkout@v4 @@ -43,7 +45,6 @@ jobs: - name: Deploy to gh-pages uses: peaceiris/actions-gh-pages@v4 with: - deploy_key: ${{secrets.ACTIONS_DEPLOY_KEY}} - publish_branch: gh-pages - publish_dir: ./public + github_token: ${{ secrets.GITHUB_TOKEN }} force_orphan: true + cname: whynot.fail diff --git a/CNAME b/CNAME deleted file mode 100644 index 5223f3f..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -whynot.fail \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d66023f..ce4d6a7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -242,9 +242,14 @@

{{ .Title }}

{{ template "_internal/disqus.html" . }} {{ with .Site.Params.social.utterances }} - + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 04f2eb3..7765973 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,8 +29,6 @@ {{ end }} -{{ template "_internal/google_analytics_async.html" . }} -