pages-themes / hacker

Hacker is a Jekyll theme for GitHub Pages

Home Page:https://pages-themes.github.io/hacker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.github/workflows/ci.yml file script/bootstrap error

Jwmc999 opened this issue · comments

Hi, I am trying to build the github site but keep failing from '.github/workflows/ci.yml', which was 'ci.yaml' according to Jekyll Hacker theme. No matter 'ci.yaml' or 'ci.yml', the same error occurs.
Run script/bootstrap /home/runner/work/_temp/aa78e4c6-0d79-4587-8c4a-1acdecb59d18.sh: line 1: script/bootstrap: Permission denied Error: Process completed with exit code 126.
Screenshot 2020-12-28 154933
'ci.yml' code
Screenshot 2020-12-28 155011

I could not run my site locally (Windows 10), as of some error related to 'script/bootstrap', so editing my repo online...

Is there any problem in my 'script/bootstrap'?
`#!/bin/sh

set -e

gem install bundler
bundle install`

Or in my 'script/cibuild'?
`#!/bin/sh

set -e

bundle exec jekyll build
bundle exec htmlproofer ./_site --check-html --check-sri
bundle exec rubocop -D
bundle exec script/validate-html
gem build jekyll-theme-hacker.gemspec`

Thank you very much for reading long words.

changing 'ci.yml' to
run: sh script/bootstrap
and
run: sh script/cibuild
(removing line 13, 14)
did the trick. I am closing this issue.