Skip to content

Commit

Permalink
Add CNAME and perms
Browse files Browse the repository at this point in the history
  • Loading branch information
ewpratten committed Aug 4, 2023
1 parent e856e35 commit bb3e2c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit bb3e2c2

Please sign in to comment.