Skip to content

Commit 740c5ec

Browse files
fix: add GitHub Actions Pages workflow and Gemfile for proper link conversion (#12)
🔧 - Generated by Copilot
1 parent 48570cc commit 740c5ec

2 files changed

Lines changed: 55 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: Deploy to GitHub Pages
3+
4+
on:
5+
push:
6+
branches: [main]
7+
workflow_dispatch:
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 Pages
26+
uses: actions/configure-pages@v5
27+
28+
- name: Build with Jekyll
29+
uses: actions/jekyll-build-pages@v1
30+
with:
31+
source: ./
32+
destination: ./_site
33+
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@v3
36+
37+
deploy:
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
runs-on: ubuntu-latest
42+
needs: build
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

Gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 3.10"
4+
gem "jekyll-theme-minimal"
5+
gem "jekyll-relative-links"
6+
7+
group :jekyll_plugins do
8+
gem "jekyll-relative-links"
9+
end

0 commit comments

Comments
 (0)