Skip to content

Commit 354feaf

Browse files
Copilothustcc
andauthored
ci: simplify CNAME step, remove unnecessary BUILD_DIR variable
Agent-Logs-Url: https://github.com/weavefox/docs/sessions/29741506-bb7c-429b-b3d9-fed61dc46093 Co-authored-by: hustcc <7856674+hustcc@users.noreply.github.com>
1 parent 4a2d2e8 commit 354feaf

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ concurrency:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20-
env:
21-
BUILD_DIR: build
2220
steps:
2321
- uses: actions/checkout@v4
2422

@@ -38,12 +36,12 @@ jobs:
3836
run: pnpm build
3937

4038
- name: Write CNAME
41-
run: echo "docs.weavefox.ai" > "${BUILD_DIR}/CNAME"
39+
run: echo "docs.weavefox.ai" > build/CNAME
4240

4341
- name: Upload artifact
4442
uses: actions/upload-pages-artifact@v3
4543
with:
46-
path: ${{ env.BUILD_DIR }}
44+
path: build
4745

4846
deploy:
4947
environment:

0 commit comments

Comments
 (0)