Skip to content

Patch 1 #3

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.leqa.me
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source "https://rubygems.org"
gem 'jekyll'
gem 'jekyll', "~> 4.3.2"
gem 'jekyll-paginate'
gem 'jekyll-gist'
gem 'jekyll-seo-tag'
Expand Down
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
site: Daniel Ting
url: https://danielzting.github.io
title: Daniel Ting
description: You discovered my homepage!
site: Leqa
url: https://leqa.me
title: Leqa's Blog
description: Đơn giản chỉ là ghi và chép
twitter:
username: DanielZTing
card: Daniel Ting
Expand Down
2 changes: 1 addition & 1 deletion _sass/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ nav {

ul {
list-style: none;
padding: 0;
padding: 0.5rem;
text-align: center;

li {
Expand Down
30 changes: 30 additions & 0 deletions jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Deploy Jekyll

on:
push:
branches: [main]

jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'

- name: Install dependencies
run: |
gem install bundler
bundle install

- name: Build Jekyll
run: bundle exec jekyll build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site