-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(pages): Setup GitHub Pages (#6)
- Loading branch information
Showing
2 changed files
with
113 additions
and
0 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,60 @@ | ||
--- | ||
|
||
name: Pages | ||
|
||
on: | ||
push: | ||
branches: [release] | ||
|
||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: pages | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup NodeJS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: yarn | ||
|
||
- name: Install Dependencies | ||
run: yarn install --immutable | ||
|
||
- name: Build Docs | ||
run: yarn docs | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./ | ||
destination: ./_site | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
|
||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
|
||
steps: | ||
- uses: actions/deploy-pages@v1 | ||
|
||
... |
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,53 @@ | ||
--- | ||
|
||
remote_theme: mmistakes/minimal-mistakes | ||
|
||
plugins: | ||
- jekyll-include-cache | ||
- jekyll-github-metadata | ||
|
||
defaults: | ||
- scope: | ||
path: "" | ||
type: pages | ||
values: | ||
author_profile: true | ||
classes: wide | ||
layout: single | ||
|
||
minimal_mistakes_skin: air | ||
title: TS CSSVars | ||
subtitle: Safely define and use CSS vars on JS/TS context | ||
name: Jose Luis Leon | ||
repository: JoseLion/ts-cssvars | ||
atom_feed: | ||
hide: true | ||
twitter: | ||
username: joseliont | ||
author: | ||
name: Jose Luis Leon | ||
avatar: https://github.com/JoseLion.png | ||
email: joseluis5000l@gmail.com | ||
links: | ||
- label: Repository | ||
icon: fab fa-fw fa-github | ||
url: https://github.com/JoseLion/ts-cssvars | ||
- label: GitHub | ||
icon: fab fa-fw fa-github-alt | ||
url: https://github.com/JoseLion | ||
- label: Twitter | ||
icon: fab fa-fw fa-twitter-square | ||
url: https://twitter.com/joseliont | ||
footer: | ||
links: | ||
- label: Repository | ||
icon: fab fa-fw fa-github | ||
url: https://github.com/JoseLion/ts-cssvars | ||
- label: GitHub | ||
icon: fab fa-fw fa-github-alt | ||
url: https://github.com/JoseLion | ||
- label: Twitter | ||
icon: fab fa-fw fa-twitter-square | ||
url: https://twitter.com/joseliont | ||
|
||
... |