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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreuixiy <reuixiy@gmail.com>2022-04-14 07:07:50 +0300
committerreuixiy <reuixiy@gmail.com>2022-04-14 07:16:47 +0300
commit009b3c806686c2945ece33e287248ddb7438f785 (patch)
tree528dddb7ce08af652f655fc8bdef5a8e67d89779
parent1c0beeddd73f59f6c82f792d0918d961b4069792 (diff)
style: format ci.yml
-rw-r--r--.github/workflows/ci.yml74
1 files changed, 37 insertions, 37 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e46716c..9a1456a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,40 +12,40 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: 'Clone gohugoio/hugoBasicExample repository'
- run: |
- git clone https://github.com/gohugoio/hugoBasicExample.git
- cd hugoBasicExample
- mv content/post content/posts
- sed -i 's/posts/post/g' content/posts/_index.md
- mkdir content/about && mv content/about.md content/about/_index.md
- mkdir -p themes/meme
-
- - name: 'Check out MemE into themes/meme folder'
- uses: actions/checkout@v2
- with:
- path: hugoBasicExample/themes/meme
-
- - name: 'Setup MemE'
- run: |
- cd hugoBasicExample
- rm -rf config*
- cp themes/meme/exampleSite/config.toml .
-
- - name: 'Install Hugo'
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: latest
- extended: true
-
- - name: 'Build site'
- run: |
- cd hugoBasicExample
- hugo --gc --minify --cleanDestinationDir --baseURL="https://io-oi.me/hugo-theme-meme/"
-
- - name: 'Deploy to GitHub Pages'
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: hugoBasicExample/public
- force_orphan: true
+ - name: 'Clone gohugoio/hugoBasicExample repository'
+ run: |
+ git clone https://github.com/gohugoio/hugoBasicExample.git
+ cd hugoBasicExample
+ mv content/post content/posts
+ sed -i 's/posts/post/g' content/posts/_index.md
+ mkdir content/about && mv content/about.md content/about/_index.md
+ mkdir -p themes/meme
+
+ - name: 'Check out MemE into themes/meme folder'
+ uses: actions/checkout@v3
+ with:
+ path: hugoBasicExample/themes/meme
+
+ - name: 'Setup MemE'
+ run: |
+ cd hugoBasicExample
+ rm -rf config*
+ cp themes/meme/exampleSite/config.toml .
+
+ - name: 'Install Hugo'
+ uses: peaceiris/actions-hugo@v2
+ with:
+ hugo-version: latest
+ extended: true
+
+ - name: 'Build site'
+ run: |
+ cd hugoBasicExample
+ hugo --gc --minify --cleanDestinationDir --baseURL="https://io-oi.me/hugo-theme-meme/"
+
+ - name: 'Deploy to GitHub Pages'
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: hugoBasicExample/public
+ force_orphan: true