Skip to content

Commit 2dc7f4c

Browse files
authored
Merge pull request #763 from Shopify/jekyll-migration
Migrate from Eleventy to Jekyll
2 parents 2e4ab9a + 875e743 commit 2dc7f4c

24 files changed

+728
-8093
lines changed

.eleventy.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

.eleventyignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,3 @@ updates:
2424
actions:
2525
patterns:
2626
- "*" # Update all GitHub Actions together
27-
28-
- package-ecosystem: npm
29-
directory: '/'
30-
schedule:
31-
interval: monthly
32-
groups:
33-
npm:
34-
patterns:
35-
- "*" # Update all npm dependencies together

.github/workflows/github-pages.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/jekyll.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Deploy Jekyll site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: '3.2'
29+
bundler-cache: true
30+
31+
- name: Setup Pages
32+
id: pages
33+
uses: actions/configure-pages@v5
34+
35+
- name: Build with Jekyll
36+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
37+
env:
38+
JEKYLL_ENV: production
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
43+
deploy:
44+
environment:
45+
name: github-pages
46+
url: ${{ steps.deployment.outputs.page_url }}
47+
runs-on: ubuntu-latest
48+
needs: build
49+
if: github.ref == 'refs/heads/main'
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

.github/workflows/node.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
_site
22
.sass-cache
33
node_modules
4-
css/
54
pkg/
65

76
gemfiles/*.gemfile.lock

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ gem "diffy"
88
gem "minitest"
99
gem "rake"
1010
gem "rubocop-minitest"
11+
12+
gem "github-pages"

0 commit comments

Comments
 (0)