Skip to content

Commit 854d87b

Browse files
authored
use single commit for github pages deploy action (#22)
1 parent 42f9b44 commit 854d87b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/examples_on_main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
commit-message: https://github.com/databasedav/haalka/commit/${{ github.sha }}
7070
folder: pages
7171
force: false
72+
single-commit: true
7273
target-folder: examples
7374
get_examples_:
7475
name: get_examples_

.github/workflows/pr_previews.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
commit-message: https://github.com/databasedav/haalka/pull/${{ github.event.number }}/commits/${{ github.event.pull_request.head.sha }}
7070
folder: pages
7171
force: false
72+
single-commit: true
7273
target-folder: pr_previews/${{ github.event.number }}
7374
deployment_comment:
7475
name: deployment_comment

kaaj/src/common.ncl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ let install_nickel_ = {
157157
attempt-limit = GITHUB_PAGES_DEPLOY_ACTION_ATTEMPT_LIMIT,
158158
target-folder = if pr != "" then "pr_previews/%{ pr }" else "examples",
159159
commit-message = if pr != "" then "%{ REPO }/pull/%{ pr }/commits/${{ github.event.pull_request.head.sha }}" else "%{ REPO }/commit/${{ github.sha }}",
160+
single-commit = true,
160161
}
161162
},
162163
]

0 commit comments

Comments
 (0)