Skip to content

Commit f0de8c9

Browse files
authored
Simplify .nojekyll file creation during deployment
Removed the separate step for creating the .nojekyll file and added it directly in the deployment script.
1 parent 0bf5a17 commit f0de8c9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ jobs:
7070
ref: "gh-pages/live-site"
7171
path: prebuild-branch
7272

73-
- name: Upsert .nojekyll File
74-
run: touch prebuild-branch/.nojekyll
75-
7673
- name: Deploy to gh-pages/live-site Branch
7774
id: deploy
7875
run: |
@@ -82,6 +79,8 @@ jobs:
8279
git rm -rf . && git clean -fxd
8380
cp -R ../${{ env.DIST_DIR }}/* .
8481
82+
touch .nojekyll
83+
8584
git add -A
8685
8786
if git diff --staged --quiet; then

0 commit comments

Comments
 (0)