Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeaceiris <30958501+peaceiris@users.noreply.github.com>2022-04-27 23:22:31 +0300
committerpeaceiris <30958501+peaceiris@users.noreply.github.com>2022-04-27 23:22:31 +0300
commit2d4e48b7d9ef25b4a8979bafb496b5c4f1f999f5 (patch)
treea99549af437b292ad633335883318d753077d4d5 /README.md
parent720dbad3ae0a917709fd283a2833c00bbe1ef6ce (diff)
docs: delete old workflow example
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 1 insertions, 39 deletions
diff --git a/README.md b/README.md
index c3077f35..8d3f45fc 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,7 @@ Hugo IRIS Theme
- [Getting Started](#getting-started)
- [Install Hugo](#install-hugo)
- [Install Go](#install-go)
+ - [Install Node.js and npm](#install-nodejs-and-npm)
- [Initialize New Hugo Project](#initialize-new-hugo-project)
- [Create a Post Page](#create-a-post-page)
- [Create a Slide Page](#create-a-slide-page)
@@ -196,45 +197,6 @@ The following actions are useful to deploy your site to GitHub Pages using GitHu
- [peaceiris/actions-hugo: GitHub Actions for Hugo](https://github.com/peaceiris/actions-hugo)
- [peaceiris/actions-gh-pages: GitHub Actions for GitHub Pages](https://github.com/peaceiris/actions-gh-pages)
-Here is an example workflow `.github/workflows/gh-pages.yml` to deploy your site to `gh-pages` branch at a project repository.
-For the first deployment, we have to do this operation: [First Deployment with `GITHUB_TOKEN` - peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-first-deployment-with-github_token)
-
-```yaml
-name: Deploy to GitHub Pages
-
-on:
- push:
- branches:
- - main
-
-jobs:
- deploy:
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true # Fetch Hugo themes
- fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
-
- - name: Setup Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "0.97.3"
- extended: true
-
- - name: Fetch data
- run: |
- export GH_USER_ID="peaceiris"
- bash ./scripts/fetch_data.sh "${GH_USER_ID}" > "./data/github/${GH_USER_ID}.json"
-
- - run: hugo --minify
-
- - name: Deploy
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
-```
-
<div align="right"><a href="#table-of-contents">Back to TOC ☝️</a></div>