From f1e7cd608c631ec6a3c48e1e76f17b6c8a468ada Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 5 Feb 2020 17:09:37 +0900 Subject: [PATCH] docs: update for v3 --- README.md | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index acb30bda7..2e6e9a02a 100644 --- a/README.md +++ b/README.md @@ -624,39 +624,38 @@ 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: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + - name: Cache dependencies + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - - run: npm ci + - run: npm ci - - run: npm test + - run: npm test - - run: npm run generate + - run: npm run generate - - name: deploy - uses: peaceiris/actions-gh-pages@v2 - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./dist + - name: deploy + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_dir: ./dist ``` ### ⭐️ Static Site Generators with Python