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

auspice/_config.yml: exclude "vendor/" #163

Merged
merged 1 commit into from Sep 8, 2023
Merged

Conversation

joverlee521
Copy link
Contributor

GitHub Action ruby/setup-ruby does not allow customization of the vendor path¹ so just exclude the hard-coded vendor/ path in the config.

¹ ruby/setup-ruby#136


This is required for setting up the GitHub Action workflow to deploy the private builds to netlify. Without this change, we run into errors when trying to build the site with jekyll:

ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'vendor/bundle/ruby/2.3.0/gems/jekyll-3.1.2/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.

GitHub Action ruby/setup-ruby does not allow customization of the vendor
path¹ so just exclude the hard-coded `vendor/` path in the config.

¹ ruby/setup-ruby#136
@joverlee521 joverlee521 merged commit 12c5645 into master Sep 8, 2023
@joverlee521 joverlee521 deleted the exclude-vendor branch September 8, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant