Skip to content

Commit

Permalink
docs: Add github/personal-website
Browse files Browse the repository at this point in the history
Add an example workflow for github/personal-website

https://github.com/github/personal-website
  • Loading branch information
peaceiris committed Mar 16, 2020
1 parent 9794f98 commit e2a54ec
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit e2a54ec

Please sign in to comment.