Skip to content

Commit e0a956b

Browse files
committed
refactor: Allow for versioning of the docs
1 parent fa21fcf commit e0a956b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-deploy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
on:
55
push:
66
branches:
7-
- v1
7+
- v4
88
paths:
99
- 'docs/**'
1010
pull_request:
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: true
2424
matrix:
25-
node-version: [14.x]
25+
node-version: [ 14.x ]
2626
steps:
2727
- uses: actions/checkout@v2
2828
- name: Use Node.js ${{ matrix.node-version }}
@@ -35,7 +35,7 @@ jobs:
3535
- name: rsync deployments
3636
uses: burnett01/rsync-deployments@4.1
3737
with:
38-
switches: -avzr --delete
38+
switches: -avzr
3939
path: ./dist/
4040
remote_path: ${{ secrets.NYS_DOCS_ROOT }}${{ env.DOCS_DEST_DIR }}
4141
remote_host: ${{ secrets.NYS_DEPLOY_REMOTE_HOST }}

0 commit comments

Comments
 (0)