Skip to content

Commit fca2914

Browse files
author
PeterMaZep
committed
attempt to fix gh actions
1 parent c39a625 commit fca2914

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/gh-jekyll-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
22
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
33

4+
env:
5+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN_WEBSITE_COMMON }}
6+
47
on:
58
# Runs on pushes targeting the default branch
69
push:

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ platform :windows do
44
gem 'wdm', '>= 0.1.0'
55
end
66

7-
gem "pwindows-theme", git: "git@github.com:PWindows/Website-Common.git"
7+
if ENV['GITHUB_ACTIONS'] == 'true'
8+
gem "pwindows-theme", git: "https://#{ENV['GITHUB_TOKEN']}@github.com/PWindows/Website-Common.git"
9+
else
10+
gem "pwindows-theme", git: "git@github.com:PWindows/Website-Common.git"
11+
end
12+
813
gem "jekyll", "~> 4.4"
914
gem "webrick"
1015

_includes/schema-org.html

Whitespace-only changes.

0 commit comments

Comments
 (0)