From bb3e2c2a708ae75f5d125fbd1e1aa7e4a75b092c Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 3 Aug 2023 23:35:10 -0400 Subject: [PATCH] Add CNAME and perms --- .github/workflows/docs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 72e27e5..08c52d9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,6 +13,10 @@ jobs: name: Build Docs runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -37,6 +41,9 @@ jobs: - name: Combine Book and Website run: mkdir -p /tmp/combined && cp -rv docs/website/* /tmp/combined && cp -rv target/book/ /tmp/combined/book + - name: Write CNAME file + run: echo "protomask.ewpratten.com" > /tmp/combined/CNAME + - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: