-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from henriquesebastiao/page
Add page with jekyll
- Loading branch information
Showing
26 changed files
with
784 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: "Build and Deploy" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
paths-ignore: | ||
- .gitignore | ||
- README.md | ||
- LICENSE | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
# submodules: true | ||
# If using the 'assets' git submodule from Chirpy Starter, uncomment above | ||
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets) | ||
|
||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.3 | ||
bundler-cache: true | ||
|
||
- name: Build site | ||
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: "production" | ||
|
||
- name: Upload site artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: "_site${{ steps.pages.outputs.base_path }}" | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,70 @@ | ||
template | ||
.idea | ||
.idea | ||
|
||
# Created by https://www.toptal.com/developers/gitignore/api/ruby | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=ruby | ||
|
||
### Ruby ### | ||
*.gem | ||
*.rbc | ||
/.config | ||
/coverage/ | ||
/InstalledFiles | ||
/pkg/ | ||
/spec/reports/ | ||
/spec/examples.txt | ||
/test/tmp/ | ||
/test/version_tmp/ | ||
/tmp/ | ||
|
||
# Used by dotenv library to load environment variables. | ||
# .env | ||
|
||
# Ignore Byebug command history file. | ||
.byebug_history | ||
|
||
## Specific to RubyMotion: | ||
.dat* | ||
.repl_history | ||
build/ | ||
*.bridgesupport | ||
build-iPhoneOS/ | ||
build-iPhoneSimulator/ | ||
|
||
## Specific to RubyMotion (use of CocoaPods): | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# vendor/Pods/ | ||
|
||
## Documentation cache and generated files: | ||
/.yardoc/ | ||
/_yardoc/ | ||
/doc/ | ||
/rdoc/ | ||
|
||
## Environment normalization: | ||
/.bundle/ | ||
/vendor/bundle | ||
/lib/bundler/man/ | ||
|
||
# for a library or gem, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# Gemfile.lock | ||
# .ruby-version | ||
# .ruby-gemset | ||
|
||
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: | ||
.rvmrc | ||
|
||
# Used by RuboCop. Remote config files pulled in from inherit_from directive. | ||
# .rubocop-https?--* | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/ruby | ||
|
||
# Generated using ignr.py - github.com/Antrikshy/ignr.py | ||
|
||
Gemfile.lock | ||
.jekyll-cache | ||
_site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jekyll-theme-chirpy", "~> 7.0", ">= 7.0.1" | ||
|
||
group :test do | ||
gem "html-proofer", "~> 5.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SRC_DIR := . | ||
SHELL_SCRIPTS := $(wildcard $(SRC_DIR)/*.sh) | ||
|
||
run: | ||
bundle exec jekyll s | ||
|
||
.PHONY: run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,221 @@ | ||
title: Badges | ||
description: A collection of badges for your Projects. | ||
lang: en | ||
timezone: America/Cuiaba | ||
# The Site Configuration | ||
|
||
# Import the theme | ||
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: pt-BR | ||
|
||
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker | ||
timezone: America/Cuiaba | ||
|
||
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md | ||
# ↓ -------------------------- | ||
|
||
title: Henrique Sebastião # the main title | ||
|
||
tagline: Desenvolvedor back-end, técnico de redes, músico, entusiasta em hardware e segurança. # it will display as the sub-title | ||
|
||
description: >- # used by seo meta and the atom feed | ||
Sou desenvolvedor de software e graduando em Ciência da Computação. | ||
# Fill in the protocol & hostname for your site. | ||
# e.g. 'https://username.github.io', note that it does not end with a '/'. | ||
url: "https://henriquesebastiao.com" | ||
|
||
github: | ||
username: henriquesebastiao | ||
|
||
twitter: | ||
username: hick_hs | ||
|
||
social: | ||
# Change to your full name. | ||
# It will be displayed as the default author of the posts and the copyright owner in the Footer | ||
name: Henrique Sebastião | ||
email: [email protected] # change to your email address | ||
links: | ||
# The first element serves as the copyright owner's link | ||
- https://twitter.com/hick_hs | ||
- https://github.com/henriquesebastiao | ||
- https://www.linkedin.com/in/henriquesebastiao | ||
- https://bolha.us/@henriquesebastiao | ||
|
||
# Site Verification Settings | ||
webmaster_verifications: | ||
google: B2F5DBVpmj2QL-_8mF2X7e_Bxi_KuMdBeZ1zaKrq9BY | ||
bing: # fill in your Bing verification code (Not necessary as I already imported from Google Search Console) | ||
alexa: # fill in your Alexa verification code | ||
yandex: # fill in your Yandex verification code | ||
baidu: # fill in your Baidu verification code | ||
facebook: # fill in your Facebook verification code | ||
|
||
# ↑ -------------------------- | ||
# The end of `jekyll-seo-tag` settings | ||
|
||
# Web Analytics Settings | ||
analytics: | ||
google: | ||
id: G-BVJ8VX0FC9 # fill in your Google Analytics ID | ||
goatcounter: | ||
id: henriquesebastiao | ||
umami: | ||
id: # fill in your Umami ID | ||
domain: # fill in your Umami domain | ||
matomo: | ||
id: # fill in your Matomo ID | ||
domain: # fill in your Matomo domain | ||
cloudflare: | ||
id: 510965fd9db643a0a76796a949c59d44 | ||
|
||
# Pageviews settings | ||
pageviews: | ||
provider: goatcounter | ||
|
||
# Prefer color scheme setting. | ||
# | ||
# Note: Keep empty will follow the system prefer color by default, | ||
# and there will be a toggle to switch the theme between dark and light | ||
# on the bottom left of the sidebar. | ||
# | ||
# Available options: | ||
# | ||
# light - Use the light color scheme | ||
# dark - Use the dark color scheme | ||
# | ||
theme_mode: [dark] | ||
|
||
# The CDN endpoint for images. | ||
# Notice that once it is assigned, the CDN url | ||
# will be added to all image (site avatar & posts' images) paths starting with '/' | ||
# | ||
# e.g. 'https://cdn.com' | ||
cdn: "" | ||
|
||
# the avatar on sidebar, support local or CORS resources | ||
avatar: "https://avatars.githubusercontent.com/u/85202803?v=4" | ||
|
||
# The URL of the site-wide social preview image used in SEO `og:image` meta tag. | ||
# It can be overridden by a customized `page.image` in front matter. | ||
social_preview_image: "/assets/img/social-preview-image.png" | ||
|
||
# boolean type, the global switch for TOC in posts. | ||
toc: true | ||
|
||
comments: | ||
provider: [giscus] # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable | ||
# The active options are as follows: | ||
disqus: | ||
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname | ||
# utterances settings › https://utteranc.es/ | ||
utterances: | ||
repo: # <gh-username>/<repo> | ||
issue_term: # < url | pathname | title | ...> | ||
# Giscus options › https://giscus.app | ||
giscus: | ||
repo: "henriquesebastiao/henriquesebastiao.github.io" | ||
repo_id: "R_kgDOK_u0ZA" | ||
category: "Announcements" | ||
category_id: "DIC_kwDOK_u0ZM4CcJAp" | ||
mapping: "pathname" # optional, default to 'pathname' | ||
input_position: "top" # optional, default to 'bottom' | ||
lang: "pt" # optional, default to the value of `site.lang` | ||
reactions_enabled: "1" # optional, default to the value of `1` | ||
|
||
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets | ||
assets: | ||
self_host: | ||
enabled: # boolean, keep empty means false | ||
# specify the Jekyll environment, empty means both | ||
# only works if `assets.self_host.enabled` is 'true' | ||
env: # [development|production] | ||
|
||
pwa: | ||
enabled: true # the option for PWA feature | ||
|
||
paginate: 10 | ||
|
||
# The base URL of your site | ||
baseurl: "" | ||
|
||
# ------------ The following options are not recommended to be modified ------------------ | ||
|
||
kramdown: | ||
footnote_backlink: "↩︎" | ||
syntax_highlighter: rouge | ||
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options | ||
css_class: highlight | ||
# default_lang: console | ||
span: | ||
line_numbers: false | ||
block: | ||
line_numbers: true | ||
start_line: 1 | ||
|
||
collections: | ||
tabs: | ||
output: true | ||
sort_by: order | ||
|
||
defaults: | ||
- scope: | ||
path: "" # An empty string here means all files in the project | ||
type: posts | ||
values: | ||
layout: post | ||
comments: true # Enable comments in posts. | ||
toc: true # Display TOC column in posts. | ||
# DO NOT modify the following parameter unless you are confident enough | ||
# to update the code of all other post links in this project. | ||
permalink: /posts/:title/ | ||
- scope: | ||
path: _drafts | ||
values: | ||
comments: false | ||
- scope: | ||
path: "" | ||
type: tabs # see `site.collections` | ||
values: | ||
layout: page | ||
permalink: /:title/ | ||
- scope: | ||
path: assets/img/favicons | ||
values: | ||
swcache: true | ||
- scope: | ||
path: assets/js/dist | ||
values: | ||
swcache: true | ||
|
||
sass: | ||
style: compressed | ||
|
||
compress_html: | ||
clippings: all | ||
comments: all | ||
endings: all | ||
profile: false | ||
blanklines: false | ||
ignore: | ||
envs: [development] | ||
|
||
exclude: | ||
- "*.gem" | ||
- "*.gemspec" | ||
- docs | ||
- tools | ||
- README.md | ||
- LICENSE | ||
- "*.config.js" | ||
- package*.json | ||
|
||
jekyll-archives: | ||
enabled: [categories, tags] | ||
layouts: | ||
category: category | ||
tag: tag | ||
permalinks: | ||
tag: /tags/:name/ | ||
category: /categories/:name/ |
Oops, something went wrong.