jerryjvl / jekyll-build-action Goto Github PK
View Code? Open in Web Editor NEWPlain in-place Jekyll build action to be used in pipelines with a variety of possible deploy targets
License: MIT License
Plain in-place Jekyll build action to be used in pipelines with a variety of possible deploy targets
License: MIT License
Since recent, site builds starts to fail on installing dependencies. The build log generates the following errors:
+ set -e
+ echo 'Starting Jekyll build'
+ chmod -R a+w /github/workspace
+ jekyll build --trace
Starting Jekyll build
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching public_suffix 4.0.5
Errno::EACCES: Permission denied @ rb_file_s_rename -
(/home/jekyll/.gem/ruby/2.7.0/cache/public_suffix-4.0.5.gem,
/usr/gem/cache/public_suffix-4.0.5.gem)
An error occurred while installing public_suffix (4.0.5), and Bundler cannot
continue.
Make sure that `gem install public_suffix -v '4.0.5' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
jekyll was resolved to 4.0.1, which depends on
addressable was resolved to 2.7.0, which depends on
public_suffix
Tested it against two jekyll sites and both give the same Errno:EACCESS error
Allowing users to include the --verbose tag will make it easier to pinpoint and debug potential issues during build.
Hi,
I got the below error when I last ran this action. But it worked without any issue before that. Any idea on how to fix it ?
2020-05-15T11:39:56.5878639Z Starting Jekyll build
2020-05-15T11:39:56.6140922Z + jekyll build --trace
2020-05-15T11:40:04.8872934Z Fetching gem metadata from https://rubygems.org/..........
2020-05-15T11:40:04.9410718Z Fetching public_suffix 4.0.1
2020-05-15T11:40:05.0019903Z Errno::EACCES: Permission denied @ rb_file_s_rename -
2020-05-15T11:40:05.0020394Z (/home/jekyll/.gem/ruby/2.7.0/cache/public_suffix-4.0.1.gem,
2020-05-15T11:40:05.0020842Z /usr/gem/cache/public_suffix-4.0.1.gem)
2020-05-15T11:40:05.0021145Z An error occurred while installing public_suffix (4.0.1), and Bundler cannot
2020-05-15T11:40:05.0021378Z continue.
2020-05-15T11:40:05.0021951Z Make sure that `gem install public_suffix -v '4.0.1' --source
2020-05-15T11:40:05.0022365Z 'https://rubygems.org/'` succeeds before bundling.
2020-05-15T11:40:05.0022478Z
2020-05-15T11:40:05.0027615Z In Gemfile:
2020-05-15T11:40:05.0027829Z minima was resolved to 2.5.0, which depends on
2020-05-15T11:40:05.0028631Z jekyll-feed was resolved to 0.12.1, which depends on
2020-05-15T11:40:05.0028809Z jekyll was resolved to 3.8.5, which depends on
2020-05-15T11:40:05.0028986Z addressable was resolved to 2.7.0, which depends on
2020-05-15T11:40:05.0029135Z public_suffix
```
How can I set the working directory?
If not supported, consider supporting something like this:
- name: Build
uses: jerryjvl/jekyll-build-action@v1
with:
working-directory: blog
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.