Skip to content

Commit 67a9d1d

Browse files
committed
fix tests
1 parent f51cf1e commit 67a9d1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
touch old
2424
touch updated
2525
git add .
26-
git commit --am --no-edit
26+
git commit --amend --no-edit
2727
git checkout -
2828
popd
2929
@@ -50,14 +50,15 @@ jobs:
5050
nojekyll: true
5151
- name: test
5252
run: |
53+
set -x
5354
git clone file://"$PWD"/test-remote/.git results --branch gh-pages
5455
pushd results
5556
ls -la
5657
[[ ! -f old ]]
5758
[[ -f new ]]
5859
[[ -f updated ]]
59-
[[ "$(cat updated)" == updated ]]
60+
[[ "$(cat updated)" == "$(echo update things)" ]]
6061
[[ -f CNAME ]]
61-
[[ "$(cat CNAME)" == test.com ]]
62+
[[ "$(cat CNAME)" == "$(echo test.com)" ]]
6263
[[ -f .nojekyll ]]
6364
popd

0 commit comments

Comments
 (0)