From 91f74b2313aca84fd6e7891395d50e3ed04ddb8e Mon Sep 17 00:00:00 2001 From: hayao Date: Sun, 24 Oct 2021 20:38:59 +0900 Subject: [PATCH 1/1] [fix] : Add all files --- .github/workflows/hugo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 2f12cf5..b0668cc 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -80,13 +80,14 @@ jobs: git config remote.origin.url "git@github.com:hayao0819/hayao0819.github.io.git" echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config rm -rf ./blog/src/themes + git rm --cached -r * git add -A if ! git diff --cached --quiet; then git commit -m "deploy: ${GITHUB_SHA}" -a else echo "Nothing has been commited" fi - git pull --allow-unrelated-histories origin gh-pages + : git pull --allow-unrelated-histories origin gh-pages git checkout -b gh-pages git push origin gh-pages --force \ No newline at end of file -- 2.11.0