Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci.yaml #2128

Closed
wants to merge 41 commits into from
Closed

ci.yaml #2128

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
726f256
Create jekyll.yml
chewon1227 Nov 2, 2024
d5e9083
Update .gitignore
chewon1227 Nov 2, 2024
bb99de6
Create test A
chewon1227 Nov 2, 2024
029af33
test
chewon1227 Nov 2, 2024
a7aa233
Delete _posts/A
chewon1227 Nov 2, 2024
05bf60a
Create test
chewon1227 Nov 2, 2024
c7d6b7f
Update _config.yml
chewon1227 Nov 2, 2024
d66053e
Update test
chewon1227 Nov 2, 2024
44948a8
Update _config.yml
chewon1227 Nov 2, 2024
ef13502
Update _config.yml
chewon1227 Nov 2, 2024
487454e
Update and rename test to 2024-11-02-test.md
chewon1227 Nov 2, 2024
df544e9
Update 2024-11-02-test.md
chewon1227 Nov 2, 2024
37a6dea
Update about.md
chewon1227 Nov 2, 2024
b2584d1
Update 2024-11-02-test.md
chewon1227 Nov 3, 2024
c54a6d2
Update 2024-11-02-test.md
chewon1227 Nov 3, 2024
d5630a6
Update 2024-11-02-test.md
chewon1227 Nov 3, 2024
6f4de8c
Merge branch 'cotes2020:master' into main
chewon1227 Nov 5, 2024
5743443
Create 2024-11-02-test copy.md
chewon1227 Nov 18, 2024
e0abb52
수정사항
chewon1227 Nov 18, 2024
d6dcea3
Update 2024-11-02-test copy.md
chewon1227 Nov 18, 2024
e6b464b
Update 2024-11-02-test copy.md
chewon1227 Nov 18, 2024
4e0f7cc
Update _config.yml
chewon1227 Nov 18, 2024
247a40c
Update 2024-11-02-test copy.md
chewon1227 Nov 18, 2024
991760d
Update 2024-11-02-test copy.md
chewon1227 Nov 18, 2024
4dd79c4
수정
chewon1227 Nov 18, 2024
01d8f48
Merge branch 'cotes2020:master' into main
chewon1227 Nov 18, 2024
8686bd8
Update 오래가는기억은어떤기억일까.md
chewon1227 Nov 18, 2024
53109b6
Update 오래가는기억은어떤기억일까.md
chewon1227 Nov 18, 2024
78204ff
오류 수정
chewon1227 Nov 18, 2024
e7021f3
Rename 2024-11-18-오래 가는 기억은 어떤 기억일까?.md to 2024-11-18-오래-가는-기억은-어떤-기억…
chewon1227 Nov 18, 2024
fe8b6e4
Update _config.yml
chewon1227 Nov 18, 2024
33724c8
Delete _posts/2024-11-02-test.md
chewon1227 Nov 18, 2024
6274e63
not important
chewon1227 Dec 8, 2024
a9ce7aa
Merge branch 'main' of https://github.com/chewon1227/chewon1227.githu…
chewon1227 Dec 8, 2024
700ccc1
Update 2024-11-18-오래-가는-기억은-어떤-기억일까?.md
chewon1227 Dec 8, 2024
1c90d6c
재정비
chewon1227 Dec 17, 2024
a563f49
재정비
chewon1227 Dec 17, 2024
f9a28f4
Update 2024-12-17-[CD3]-ACL-ARR-Submission과-논문을-'잘'-쓰는'-법.md
chewon1227 Dec 17, 2024
f01e22a
Update 2024-12-17-[CD3]-ACL-ARR-Submission과-논문을-'잘'-쓰는'-법.md
chewon1227 Dec 17, 2024
1183bae
Update ci.yml
chewon1227 Dec 17, 2024
a563c24
Update ci.yml
chewon1227 Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
35 changes: 8 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,14 @@ on:
- README.md
- LICENSE


jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
ruby: ["3.1", "3.2", "3.3"]

runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # for posts's lastmod

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Build Assets
run: npm i && npm run build

- name: Test Site
run: bash tools/test.sh
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- name: Build
run: dotnet build
- name: Run tests
run: dotnet test
64 changes: 64 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ package-lock.json
!.vscode/tasks.json

# Misc
_sass/dist
assets/js/dist
#_sass/dist
#assets/js/dist
21 changes: 12 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ theme: jekyll-theme-chirpy
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
# otherwise, the layout language will use the default value of 'en'.
lang: en
lang: ko

# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
timezone: Asia/Shanghai
timezone: Asia/Seoul

# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------

title: Chirpy # the main title
title: Chasing Curiosity # the main title

tagline: A text-focused Jekyll theme # it will display as the subtitle
tagline: I study and I record # it will display as the subtitle

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.

Psychology, Statistics, and Artificial Intelligence
# Fill in the protocol & hostname for your site.
# E.g. 'https://username.github.io', note that it does not end with a '/'.
url: ""
url: "https://chewon1227.github.io"

github:
username: github_username # change to your GitHub username
username: chewon1227 # change to your GitHub username

twitter:
username: twitter_username # change to your Twitter username
Expand Down Expand Up @@ -185,7 +185,7 @@ defaults:
- scope:
path: _drafts
values:
comments: false
comments: true
- scope:
path: ""
type: tabs # see `site.collections`
Expand Down Expand Up @@ -223,3 +223,6 @@ jekyll-archives:
permalinks:
tag: /tags/:name/
category: /categories/:name/


future: true
10 changes: 3 additions & 7 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
# -------------------------------------

cotes:
name: Cotes Chung
twitter: cotes2020
url: https://github.com/cotes2020/
name: CWK
email: chewon1227@naver.com
url: https://github.com/chewon1227

sille_bille:
name: Dinesh Prasanth Moluguwan Krishnamoorthy
twitter: dinesh_MKD
url: https://github.com/SilleBille/
8 changes: 4 additions & 4 deletions _data/share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Icons from <https://fontawesome.com/>

platforms:
- type: Twitter
icon: "fa-brands fa-square-x-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"

- type: instagram
icon: "square-instagram"
link: "https://www.instagram.com/ch._.onii/"
- type: Facebook
icon: "fab fa-facebook-square"
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
Expand Down
Binary file added _posts/.DS_Store
Binary file not shown.
200 changes: 0 additions & 200 deletions _posts/2019-08-08-text-and-typography.md

This file was deleted.

Loading
Loading