Skip to content

Commit

Permalink
fixup: extract hostname from url
Browse files Browse the repository at this point in the history
  • Loading branch information
litlighilit committed Jan 2, 2025
1 parent 0be7e81 commit 8216f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: "Copy to index.html"
run: cp ${{ env.deploy-dir }}/${{ github.event.repository.name }}.html ${{ env.deploy-dir }}/index.html
- name: "CNAME"
run: echo -n ${{ github.event.repository.homepage }} > ${{ env.deploy-dir }}/CNAME
run: echo -n $(echo ${{ github.event.repository.homepage }} | grep -oP 'https?://\K[^/]+') > ${{ env.deploy-dir }}/CNAME
- name: Deploy documents
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit 8216f0d

Please sign in to comment.