Skip to content

Commit 8c61679

Browse files
Update deploy-workflow.yml
1 parent b12da63 commit 8c61679

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy-workflow.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2222
- name: Build project
2323
run: bundle exec jekyll build -d docs-tmp
24+
- name: Add CNAME file
25+
run: |
26+
touch docs-tmp/CNAME
27+
echo "ui-testing.academy" >> docs-tmp/CNAME
2428
- name: Deploy project
2529
run: |
26-
git push origin `git subtree split --prefix docs-tmp main`:gh-pages --force
30+
git --work-tree docs-tmp add --all
31+
git --work-tree docs-tmp commit -m 'Deploy'
32+
git push origin HEAD:gh-pages --force

0 commit comments

Comments
 (0)