Skip to content

Commit 783d0a3

Browse files
committed
fix:updated production deploy domain based on the correct github variable
1 parent 8043430 commit 783d0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/production-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
4141
# Deploy dist files to hosting
4242
- name: Deploy to remove server
43-
run: scp -r -P ${{ secrets.SSH_PORT }} -o strictHostKeyChecking=no ./dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:www/domain-lookup.${{ vars.DOMAIN }}/public_html
43+
run: scp -r -P ${{ secrets.SSH_PORT }} -o strictHostKeyChecking=no ./dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:www/${{ vars.DOMAIN }}/public_html
4444

4545
# Clear cache on the server
4646
- name: Clear cache on the server
4747
run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT }} "site-tools-client domain update id=4 flush_cache=1"
4848

4949
# Show link
5050
- name: Show link
51-
run: echo "Deployed! https://domain-lookup.${{ vars.DOMAIN }}"
51+
run: echo "Deployed! https://${{ vars.DOMAIN }}"

0 commit comments

Comments
 (0)