Skip to content

Commit e669c94

Browse files
committed
SCSS 빌드 문제 해결 시도
1 parent 5c5de0c commit e669c94

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
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+
with:
25+
submodules: recursive
26+
27+
- name: Setup Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: '3.0'
31+
bundler-cache: true
32+
33+
- name: Setup Pages
34+
uses: actions/configure-pages@v4
35+
36+
- name: Build with Jekyll
37+
run: bundle exec jekyll build
38+
env:
39+
JEKYLL_ENV: production
40+
41+
- name: Upload artifact
42+
uses: actions/upload-pages-artifact@v3
43+
44+
deploy:
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
if: github.ref == 'refs/heads/master'
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem "webrick"
2121

2222
group :jekyll_plugins do
2323
gem "jekyll-paginate-v2"
24-
# gem "jekyll-autoprefixer" # Temporarily disabled for Ruby 3.4 compatibility
24+
# gem "jekyll-autoprefixer" # Not compatible with Ruby 3.4 - using alternative approach
2525
gem "jekyll-github-metadata"
2626
gem "jekyll-feed"
2727
gem "jekyll-sitemap"

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ baseurl: ""
1313
plugins:
1414
- jekyll-paginate-v2
1515
- jekyll-redirect-from
16-
# - jekyll-autoprefixer # Temporarily disabled for Ruby 3.4 compatibility
16+
# - jekyll-autoprefixer # Not compatible with Ruby 3.4 - using alternative approach
1717
- jekyll-feed
1818
- jekyll-github-metadata
1919
- jekyll-sitemap
@@ -22,6 +22,8 @@ sass:
2222
- _sass
2323
- node_modules
2424
style: compressed
25+
sourcemap: never
26+
quiet_deps: true
2527
exclude: [
2628
vendor,
2729
node_modules,

0 commit comments

Comments
 (0)