-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add blockquote highlight and update some docs (#1)
* feat: Install remark-blockquote-alerts library * docs: Update about page * docs: add GitHub Actions integration guide
- Loading branch information
1 parent
5a8fc0e
commit b55b1c9
Showing
30 changed files
with
475 additions
and
454 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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
--- | ||
date: 2024-11-02T21:31:34+09:00 | ||
date: 2024-11-17T16:12:24+09:00 | ||
--- | ||
#### About Semantic | ||
#### About `semantic` | ||
|
||
Welcome to Semantic, the ultimate platform for creating a stunning, content-driven blog. Built with a focus on clean and semantic design, Semantic provides a seamless blogging experience with an emphasis on accessibility and modern web standards. Authored by Hak, Semantic allows you to showcase your writing and ideas in a way that’s both beautiful and intuitive. | ||
Welcome to `semantic`, the ultimate platform for building a clean, content-driven blog. Designed with a focus on modern web standards, accessibility, and semantic design, `semantic` delivers a seamless blogging experience that puts your content front and center. | ||
|
||
Explore the possibilities of building your own blog with ease, while ensuring that your content remains the star of the show. Whether you're a writer, creator, or enthusiast, Semantic has the tools to help you create a memorable online presence. | ||
Created by [Hak](https://github.com/ohprettyhak) and designed by [universa](https://github.com/thisuniversa), `semantic` empowers you to share your ideas and stories in a way that's not only visually appealing but also intuitive to navigate. | ||
|
||
Create your blog with ease and let your content take the spotlight. Whether you're a writer, creator, or enthusiast, `semantic` provides the tools to establish a compelling and memorable online presence. |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
15 changes: 0 additions & 15 deletions
15
content/posts/241003-managing-environment-variables/post.mdx
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1020 KB
content/posts/241004-react-state-management-context-api-vs-recoil/cover.jpg
Binary file not shown.
16 changes: 0 additions & 16 deletions
16
content/posts/241004-react-state-management-context-api-vs-recoil/post.mdx
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+50.5 KB
content/posts/241117-automating-deployment-with-github-actions/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
content/posts/241117-automating-deployment-with-github-actions/post.mdx
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,38 @@ | ||
--- | ||
slug: "automating-deployment-with-github-actions" | ||
title: "Automating Deployment with GitHub Actions" | ||
subtitle: "Automating `Semantic` Releases with GitHub Actions" | ||
publishDate: "2024-11-17T03:52:00.000Z" | ||
coverImage: "./cover.png" | ||
category: "Build" | ||
tag: | ||
- "semantic" | ||
- "blog" | ||
- "gatsby.js" | ||
- "github-action" | ||
- "blog-deploy" | ||
--- | ||
|
||
If you have cloned the `semantic` template, you will find the `.github/workflows/deploy.yml` file. By default, `semantic` uses GitHub Actions to generate build files in the `gh-pages` branch, which are then hosted via [GitHub Pages](https://pages.github.com/). | ||
|
||
> [!NOTE] | ||
> If you do not wish to deploy to GitHub Pages, simply delete the `.github/workflows/deploy.yml`. | ||
|
||
## Generating a GitHub Token | ||
|
||
When a commit is pushed to GitHub, GitHub Actions automatically triggers the build process. The built artifacts are then deployed to the `gh-pages` branch, which requires your personal access token. | ||
|
||
You can generate this token [here](https://github.com/settings/tokens) with the `repo` scope permissions. For simplicity and reliability, it is recommended to create a classic token without an expiration date. <ins>**Never share your token publicly.**</ins> | ||
|
||
|
||
## Adding the Token to Repository Secrets | ||
|
||
To use the token, it must be added to the repository's secrets. Navigate to **Settings → Secrets and variables → Actions** in your repository. Click **New repository secret** and add the token. | ||
|
||
> [!IMPORTANT] | ||
> Name the token `SEMANTIC_DEPLOY_TOKEN` when adding it to the repository secrets. | ||
|
||
## All Done! | ||
Once you've set up the secret, you're all set! To verify that the deployment works correctly, re-run the GitHub Action workflow. |
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
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
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
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
Oops, something went wrong.