Skip to content

Commit ff16658

Browse files
authored
Merge pull request #2 from nginxinc/workflow
Adds workflow to run shellcheck
2 parents fc48387 + 975e2a0 commit ff16658

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
on:
3+
- push
4+
- pull_request
5+
6+
jobs:
7+
shellcheck:
8+
name: ShellCheck
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Run ShellCheck
13+
uses: bewuethr/shellcheck-action@v2

src/deploy-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
exit 2
1717
fi
1818

19-
encodedConfigContent=$(base64 $nginxConfigurationFile)
19+
encodedConfigContent=$(base64 "$nginxConfigurationFile")
2020
echo "Base64 encoded NGINX configuration content"
2121
echo "$encodedConfigContent"
2222
echo ""

0 commit comments

Comments
 (0)