We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29589c7 commit f05fab9Copy full SHA for f05fab9
1 file changed
.github/workflows/default__deploy-nginx-rsync.yml
@@ -48,6 +48,9 @@ jobs:
48
- name: Build nemanjamiticcom
49
run: pnpm build
50
51
+ - name: Start timer
52
+ run: echo "START_TIME=$(date +%s)" >> $GITHUB_ENV
53
+
54
- name: Deploy dist via rsync
55
uses: burnett01/rsync-deployments@v8
56
with:
@@ -58,3 +61,8 @@ jobs:
58
61
remote_user: ${{ secrets.REMOTE_USERNAME }}
59
62
remote_port: ${{ secrets.REMOTE_PORT }}
60
63
remote_key: ${{ secrets.REMOTE_KEY_ED25519 }}
64
65
+ - name: Print duration
66
+ run: |
67
+ END=$(date +%s)
68
+ echo "Deployment took $((END - START_TIME)) seconds"
0 commit comments