From e43adf29b9b448e58fb9ef9e0d4ea66b5db3bbea Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Fri, 5 Apr 2024 15:24:19 -0400 Subject: [PATCH] refactor: Update docs workflow --- .github/workflows/build-and-deploy-docs.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-deploy-docs.yml b/.github/workflows/build-and-deploy-docs.yml index cc0573e..b38de15 100644 --- a/.github/workflows/build-and-deploy-docs.yml +++ b/.github/workflows/build-and-deploy-docs.yml @@ -1,15 +1,15 @@ name: Build and Deploy Docs env: - DOCS_DEST_DIR: /twigpack/ + DOCS_DEST_DIR: /typogrify/v4/ on: push: branches: - - v1 + - v4 paths: - 'docs/**' pull_request: branches: - - v1 + - v4 paths: - 'docs/**' workflow_dispatch: @@ -22,11 +22,11 @@ jobs: strategy: fail-fast: true matrix: - node-version: [14.x] + node-version: [ 20.x ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -35,7 +35,7 @@ jobs: - name: rsync deployments uses: burnett01/rsync-deployments@4.1 with: - switches: -avzr --delete + switches: -avzr path: ./dist/ remote_path: ${{ secrets.NYS_DOCS_ROOT }}${{ env.DOCS_DEST_DIR }} remote_host: ${{ secrets.NYS_DEPLOY_REMOTE_HOST }}