Skip to content

Commit 1c6b6b6

Browse files
authored
Update deploy.yaml
1 parent 0d8136f commit 1c6b6b6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,23 @@ jobs:
3333
- run: npm ci
3434
name: Install
3535

36-
- run: cp ./CNAME ./public/CNAME
37-
name: Copy CNAME
36+
- run: |
37+
mkdir ./public/CNAME
38+
cp ./CNAME ./public/CNAME
3839
3940
- run: npm run build
4041
name: Build
4142

42-
- run: echo ./build/CNAME
43-
name: check CNAME
43+
- run: echo ./public/CNAME
4444

4545
- name: Upload gatsby artifact
4646
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4747
with:
4848
name: gatsby-build
4949
path: ./public
5050

51+
- run: echo ./public/CNAME
52+
5153
deploy:
5254
runs-on: ubuntu-latest
5355
needs: build

0 commit comments

Comments
 (0)