Skip to content

Commit 94b07fb

Browse files
committed
Split command for Github Actions.
1 parent bdd398d commit 94b07fb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ jobs:
1313
# Check-out the repository under $GITHUB_WORKSPACE.
1414
- uses: actions/checkout@master
1515

16+
- name: Install dependencies.
17+
run: npm ci
18+
1619
# Build the website with Eleventy.
17-
- name: Building Eleventy
18-
run: npm i && npm run build
20+
- name: Build Eleventy.
21+
run: npm run build
1922

2023
# Rsync files via SSH.
21-
- name: Syncing files with server
24+
- name: Sync files with server.
2225
uses: burnett01/rsync-deployments@master
2326
with:
2427
switches: -rlD --delete --exclude='.htaccess'

0 commit comments

Comments
 (0)