From e2a54ec0b920afe6f8108d1b0237cd7963faafc2 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 16 Mar 2020 13:01:54 +0900 Subject: [PATCH] docs: Add github/personal-website Add an example workflow for github/personal-website https://github.com/github/personal-website --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 4ee93c2..03de196 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ Notes: Actually, the `GitHub_TOKEN` works for deploying to GitHub Pages but it h - [⭐️ mdBook (Rust)](#%EF%B8%8F-mdbook-rust) - [⭐️ Flutter Web](#%EF%B8%8F-flutter-web) - [⭐️ Elm](#%EF%B8%8F-elm) + - [⭐️ github/personal-website](#%EF%B8%8F-githubpersonal-website) - [License](#license) - [Maintainer](#maintainer) @@ -881,6 +882,35 @@ jobs: publish_dir: ./public ``` +### ⭐️ github/personal-website + +- [github/personal-website: Code that'll help you kickstart a personal website that showcases your work as a software developer.](https://github.com/github/personal-website) + +```yaml +name: GitHub Pages + +on: + push: + schedule: + - cron: '24 */24 * * *' # Once a day + +jobs: + deploy: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./ + allow_empty_commit: true + enable_jekyll: true + cname: github.peaceiris.com +``` + + + ## License - [MIT License - peaceiris/actions-gh-pages]