Skip to content

Commit 916e946

Browse files
authored
Merge pull request #17 from rust-lang/ci/cname
Also publish cname file
2 parents e5beed3 + eafa0f9 commit 916e946

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ jobs:
4242
cargo install mdbook-toc --version ${{ steps.mdbook-version.outputs.MDBOOK_TOC_VERSION }}
4343
4444
- name: Build book
45-
run: mdbook build
46-
45+
run: |
46+
. ./.env
47+
mdbook build
48+
cp CNAME $GIT_DEPLOY_DIR
49+
4750
- name: Deploy to gh-pages
4851
run: |
4952
git config --global user.email "Runner@GH Actions Deployment"

0 commit comments

Comments
 (0)