From afbdbf1ff21b7624e93a5e1167d23c1484eff2cd Mon Sep 17 00:00:00 2001 From: Duoc Nguyen Date: Fri, 4 Dec 2020 16:56:43 +0700 Subject: [PATCH] doc: update book title --- .github/workflows/release.yml | 8 ++++++-- .github/workflows/review.yml | 2 +- metadata.yml | 12 ++++++------ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0d4c4d..6631bfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,16 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@master - - name: Setup Environment directory run: | echo "FILE_LIST=$(printf '"%s" ' chapters/*.md)" >> $GITHUB_ENV echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_ENV - + - name: Find and Replace + uses: jacobtomlinson/gha-find-replace@master + with: + find: "vx.x.x" + replace: ${{ env.VERSION }} + include: "metadata.yml" - uses: docker://pandoc/latex:latest with: args: >- diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 8ac8d9a..3be90d5 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -3,7 +3,7 @@ name: Review on: pull_request: branches: - - master + - '*' jobs: build: runs-on: ubuntu-18.04 diff --git a/metadata.yml b/metadata.yml index 45e9b21..cb0d409 100644 --- a/metadata.yml +++ b/metadata.yml @@ -1,20 +1,20 @@ --- title: - type: main - text: My Book + text: My Reading vx.x.x - type: subtitle - text: An investigation of metadata -description: The book description + text: Collection is numerous of articles from around the net. +description: I collect these articles just to create ebook for reading on kindle. It may include many conflicting or inappropriate perspectives. creator: - role: author - text: John Smith + text: Unknown - role: editor - text: Sarah Jones + text: Myself - role: Cover designer text: Myself publisher: Myself rights: No License lang: en-US -tags: [pandoc, book, my-book, etc] +tags: [pandoc, ebook] linkReferences: true ---