Skip to content

Commit 0d8136f

Browse files
authored
copy CNAME
copy CNAME to 'public' to ensure repo 'Settings' --> 'Pages' --> 'Custom domain' is not reset on each deploy (thus causing 404 error at learn.astropy.org).
1 parent dd06f03 commit 0d8136f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ jobs:
3232
3333
- run: npm ci
3434
name: Install
35-
35+
36+
- run: cp ./CNAME ./public/CNAME
37+
name: Copy CNAME
38+
3639
- run: npm run build
3740
name: Build
3841

42+
- run: echo ./build/CNAME
43+
name: check CNAME
44+
3945
- name: Upload gatsby artifact
4046
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4147
with:

0 commit comments

Comments
 (0)