From 07a3f2915ef742feb191caf4315f92c5dbe24657 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 5 Feb 2020 17:09:00 +0900 Subject: [PATCH] docs: update for v3 --- README.md | 53 ++++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 6391c65..acb30bd 100644 --- a/README.md +++ b/README.md @@ -567,45 +567,44 @@ name: github pages on: push: branches: - - master + - master jobs: - build-deploy: + deploy: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '10.x' + - name: Setup Node + uses: actions/setup-node@v1 + with: + node-version: '10.x' - - name: Get yarn cache - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" + - name: Get yarn cache + id: yarn-cache + run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + - name: Cache dependencies + uses: actions/cache@v1 + with: + path: ${{ steps.yarn-cache.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - - run: yarn install + - run: yarn install - - run: yarn build + - run: yarn build - - run: yarn export + - run: yarn export - - run: touch ./out/.nojekyll + - run: touch ./out/.nojekyll - - name: deploy - uses: peaceiris/actions-gh-pages@v2 - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./out + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + env: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_dir: ./out ``` ### ⭐️ Vue and Nuxt