Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error in pushing to gh-pages branch does not cause action to also fail #30

Closed
IanSaucy opened this issue Oct 13, 2021 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@IanSaucy
Copy link

I've been having some issues with getting the plugin configured for my repository and been working through debugging. Recently I've gotten the following error:

fatal: could not read Password for 'https://***@github.com': No such device or address but this did not cause the github action to fail, instead it reported a success. It appears that there may be a bug on errors that occur later in the build process that are not getting reported correctly.

Below is the final part of the log, the actual Jekyll build succeeds but the part of pushing to the branch fails for some still unknown reason(not the purpose of this issue).

Bundled gems are installed into `./vendor/bundle`
Post-install message from dnsruby:
Installing dnsruby...
  For issues and source code: https://github.com/alexdalitz/dnsruby
  For general discussion (please tell us how you use dnsruby): https://groups.google.com/forum/#!forum/dnsruby
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
Starting jekyll build
Configuration file: _config.yml
            Source: /github/workspace
       Destination: /github/workspace/build
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 2.638 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
Deploying to BU-Spark/bu-spark.github.io on branch gh-pages
Deploying to https://***@github.com/BU-Spark/bu-spark.github.io.git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /github/workspace/build/.git/
[master (root-commit) c0efc9e] jekyll build from Action a82ab4027f3f3c1c4c7ac745461b24f4a0dcfddd
 16 files changed, 511 insertions(+)
 create mode 100644 .nojekyll
 create mode 100644 404.html
 create mode 100644 LICENSE
 create mode 100644 README.md
 create mode 100644 about/index.html
 create mode 100644 assets/css/just-the-docs-dark.css
 create mode 100644 assets/css/just-the-docs-default.css
 create mode 100644 assets/css/just-the-docs-light.css
 create mode 100644 assets/images/just-the-docs.png
 create mode 100644 assets/images/search.svg
 create mode 100644 assets/js/just-the-docs.js
 create mode 100644 assets/js/search-data.json
 create mode 100644 assets/js/vendor/lunr.min.js
 create mode 100644 feed.xml
 create mode 100644 index.html
 create mode 100644 jekyll/update/2021/10/08/welcome-to-jekyll.html
fatal: could not read Password for 'https://***@github.com': No such device or address

Relevant Action run: https://github.com/BU-Spark/bu-spark.github.io/runs/3883985529?check_suite_focus=true

Thanks!

@jeffreytse
Copy link
Owner

Hi @IanSaucy

Could you change this repository value in your action config to an empty string, and try again?

Thanks and Regards

@jeffreytse jeffreytse self-assigned this Oct 13, 2021
@jeffreytse jeffreytse added the help wanted Extra attention is needed label Oct 13, 2021
@IanSaucy
Copy link
Author

Hey! I tried it both ways actually and it threw an error without that value specified. That being said, I just switched to back to an empty string and it's still presenting the same error.

@jeffreytse
Copy link
Owner

jeffreytse commented Oct 14, 2021

Hi @IanSaucy

I saw your action configuration, you should use jeffreytse/jekyll-deploy-action@v0.3.1, the GITHUB_TOKEN was supported from v0.3.1. Hope you have a good day! And welcome to star this project for further updates in the future. : )

Thanks and Regards

@IanSaucy
Copy link
Author

Ah good catch! I see you already updated the docs too (: Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants