Comments (10)
Thanks for your issue, this issue is due to the security fix from the Git security vulnerability
recently announced:
https://github.blog/2022-04-12-git-security-vulnerability-announced/.
Relevant GH issue: actions/checkout#760
Thanks & Regards
from jekyll-deploy-action.
Thanks for the quick reply! I've read through the issue you linked in response but still can't figure out a way to resolve this problem. I've added the following steps in the job according to the discussion in the issue:
build_and_deploy:
runs-on: ubuntu-latest
steps:
# ADDED TWO STEPS BELOW
- name: bypass-security-err
run: git config --global --add safe.directory /__w/MarkChenYutian/blog
- name: bypass-security-err-2
run: git config --global --add safe.directory /github/workspace
- uses: actions/checkout@v2
# Use GitHub Actions' cache to cache dependencies on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
...(omitted)
but it didn't seem to work. Do you have any further suggestions ...?
from jekyll-deploy-action.
I have fixed this issue, you can try again with the latest version.
Thanks & Regards
from jekyll-deploy-action.
Not working still... Perhaps because the workflow is still using v0.3.1
of jekyll-deploy-action
instead of the latest version?
from jekyll-deploy-action.
Please use actions/checkout@v3
and jekyll-deploy-action@master
.
Thanks & Regards
from jekyll-deploy-action.
There's still this fatal error:
fatal: unsafe repository ('/github/workspace/vendor/bundle/ruby/2.7.0/cache/bundler/git/eventmachine-e3d3e89487250965501abc7691f83311d8df32b1' is owned by someone else)
(with checkout@v3
and jekyll-deploy-action@master
)
Here's the log: https://github.com/MarkChenYutian/blog/runs/6338487604?check_suite_focus=true
from jekyll-deploy-action.
@MarkChenYutian Just did some changes, please rerun your action again and tell me the result.
from jekyll-deploy-action.
Still failed: https://github.com/MarkChenYutian/blog/runs/6338543771?check_suite_focus=true
from jekyll-deploy-action.
You can rerun again, I have test, and it's successful.
Thanks & Regards
from jekyll-deploy-action.
Hi @jeffreytse
It worked! Thanks so much for the quick response and all these follow-ups!
So many Thanks!
from jekyll-deploy-action.
Related Issues (20)
- What is the base path of jekyll_cfg value ? HOT 1
- The action is not compiling my theme
- Relative urls broken HOT 2
- Error when trying to run libvips for Jekyll-Picture-Tag HOT 10
- Do I need this project structure? HOT 1
- Is there a way to use a specific Ruby version? HOT 2
- Could not find JS runtime HOT 3
- Sudden step failure without any change HOT 3
- failed: "It's conflicted to deploy on same branch master" HOT 1
- gh-pages branch remains empty after push to master; pages build and deployment not triggered HOT 5
- The deployment occasionally silently fails HOT 19
- [feature] Use group/endgroup HOT 1
- Support to deploy site via SSH protocol
- how do i setup a custom domain? HOT 2
- `with.repository` parameter is unable to access external repository: "The requested URL returned error: 403" HOT 2
- Document that the vendor directory must be excluded HOT 1
- Error as bundler requires Ruby version >=3.0.0 HOT 1
- Error installing bundler every hour for four days HOT 7
- Ruby Version 2 > 3 HOT 1
- Archlinux keyring not updating HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-deploy-action.