Skip to content

Commit 9a5367c

Browse files
refactor: sonar fixes
1 parent cb80ca5 commit 9a5367c

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/jekyll-build.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ jobs:
203203
ruby-version: '3.3'
204204

205205
- name: Install dependencies
206-
run: bundle install
206+
run: |
207+
bundle config set --local deployment true
208+
bundle install
207209
208210
- name: Setup Pages
209211
id: configure-pages

‎Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ RUN <<_SETUP
6767
#!/bin/bash
6868
set -e
6969

70+
bundle config set --local deployment true
7071
bundle install
7172

7273
# Create a non-root user and transfer ownership

‎scripts/readthedocs_build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ if [[ "${READTHEDOCS_PROJECT}" != "lizardbyte-gh-pages-main" ]]; then
178178
artifact_url="https://nightly.link/${github_user}/${github_repo}/actions/runs/${check_run_id}/${site_artifact}"
179179

180180
# download and extract the ZIP artifact
181-
curl -sL "${artifact_url}" -o "${project_dir}/artifact.zip"
181+
curl --proto '=https' -sL "${artifact_url}" -o "${project_dir}/artifact.zip"
182182
7z x "${project_dir}/artifact.zip" -o"${project_dir}"
183183
rm "${project_dir}/artifact.zip"
184184

0 commit comments

Comments
 (0)