Skip to content

Commit

Permalink
no build path
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Jul 13, 2024
1 parent 3fb5586 commit b3f8cdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Transport Image
uses: appleboy/[email protected]
with:
source: ./build
source: ./build/*
target: /tmp/${{ env.BOX_NAME }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
Expand All @@ -60,8 +60,8 @@ jobs:
password: ${{ secrets.SSH_KEY }}
command: |
mkdir -p ~/${{ env.BOX_NAME }}
cd /tmp/${{ env.BOX_NAME }}/build
cd /tmp/${{ env.BOX_NAME }}
mv docker-compose.yml start.sh ~/${{ env.BOX_NAME }}
cd ~/${{ env.BOX_NAME }}
chmod +x start.sh
echo '${{ secrets.SSH_KEY }}' | sudo -S ./start.sh /tmp/${{ env.BOX_NAME }}/build/${{ env.ARTIFACT_PATH }}
echo '${{ secrets.SSH_KEY }}' | sudo -S ./start.sh /tmp/${{ env.BOX_NAME }}/${{ env.ARTIFACT_PATH }}

1 comment on commit b3f8cdf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for oss-toolbox ready!

✅ Preview
https://oss-toolbox-bdcyoop6v-techquerys-projects.vercel.app

Built with commit b3f8cdf.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.