al-folio: Trying to deploy but failed.
I was trying to deploy this source into my personal home page, https://hantsy.github.io, but failed in the Github actions.
Run yes | bin/deploy --verbose --src source --deploy master
+ shift
+ [[ 4 > 0 ]]
+ key=--src
+ case $key in
+ SRC_BRANCH=source
+ shift
+ shift
+ [[ 2 > 0 ]]
+ key=--deploy
+ case $key in
+ DEPLOY_BRANCH=master
+ shift
+ shift
+ [[ 0 > 0 ]]
+ set -e
+ echo Deploying...
Deploying...
+ echo 'Source branch: source'
Source branch: source
+ echo 'Deploy branch: master'
Deploy branch: master
+ read -r -p 'Do you want to proceed? [y/N] ' response
+ [[ ! y =~ ^([yY][eE][sS]|[yY])+$ ]]
+ git diff-index --quiet HEAD --
+ echo 'Changes to the following files are uncommitted:'
Changes to the following files are uncommitted:
+ git diff-index --name-only HEAD --
bin/cibuild
bin/deploy
+ echo 'Please commit the changes before proceeding.'
+ echo Aborting.
+ [[ bin/deploy = \b\i\n\/\d\e\p\l\o\y ]]
+ exit 1
yes: standard output: Broken pipe
Please commit the changes before proceeding.
Aborting.
Error: Process completed with exit code 1.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (5 by maintainers)
Commits related to this issue
- fix errors https://github.com/alshedivat/al-folio/issues/208 — committed to SeonjinNa/SeonjinNa.github.io by SeonjinNa 4 months ago
For this problem, just try to add
bash
before the command, see the link https://github.com/Mustapha-AJEGHRIR/Mustapha-AJEGHRIR.github.io/blob/12a45515d2ac8538e6b3d87b52518e7deeb4b234/.github/workflows/deploy.yml#L49There is a blog described my experience of building my homepage, https://hantsy.github.io/blog/2021/jekyll/
@adib2149 @josyulakrishna It is working in my fork, hantsy.github.io, I added this https://github.com/hantsy/hantsy.github.io/blob/source/.github/workflows/deploy.yml#L51-L54.