Skip to content

Commit 184c5af

Browse files
authored
Update deployment script to use SRC_DIR variable
Signed-off-by: TheCommCraft <[email protected]>
1 parent 363ec99 commit 184c5af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy-website.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
2525
- name: Deploy website directory to website branch
2626
run: |
27+
SRC_DIR="${GITHUB_WORKSPACE}/website"
2728
git switch --orphan website-tmp
2829
git rm -rf . || true
29-
cp -r website/* .
30+
cp -r "$SRC_DIR"/. .
3031
git add .
3132
git commit -m "Deploy website directory"
3233
git push origin website --force

0 commit comments

Comments
 (0)