Skip to content

Commit f515071

Browse files
committed
fix: deploy workflow
1 parent 8f79222 commit f515071

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
2323
- name: Deploy to production
2424
run: |
25-
version=$(jq -r '.version' package.json)
25+
VERSION=$(jq -r '.version' package.json)
2626
nanocl version
27-
nanocl state apply -s Statefile.yml -- --version $version
27+
echo $VERSION
28+
nanocl state apply -s Statefile.yml -- --version $VERSION
2829
env:
2930
HOST: ${{ secrets.NANOCL_HOST }}
3031
CERT: ${{ secrets.NANOCL_CERT }}

0 commit comments

Comments
 (0)