fix: correct artifact name in deploy (mcpedia-web-build not mcpedia-web-standalone)
CI uploads artifact as 'mcpedia-web-build', deploy downloads 'mcpedia-web-build'. Also fix SCP source path: .next/* not standalone/***.
This commit is contained in:
1 parent
77792c624b
commit
596d3cf616
1 file changed
+3
-3
@@ -22,8 +22,8 @@ jobs:
|
|||||||
- name: Download build artifact
|
- name: Download build artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: mcpedia-web-standalone
|
name: mcpedia-web-build
|
||||||
path: standalone
|
path: .next
|
||||||
|
|
||||||
- name: Copy pre-built .next to VPS
|
- name: Copy pre-built .next to VPS
|
||||||
uses: appleboy/scp-action@v1
|
uses: appleboy/scp-action@v1
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
port: ${{ secrets.SSH_DEPLOY_PORT }}
|
port: ${{ secrets.SSH_DEPLOY_PORT }}
|
||||||
username: ${{ secrets.SSH_DEPLOY_USER }}
|
username: ${{ secrets.SSH_DEPLOY_USER }}
|
||||||
key: ${{ secrets.SSH_DEPLOY_KEY }}
|
key: ${{ secrets.SSH_DEPLOY_KEY }}
|
||||||
source: "standalone/***"
|
source: ".next/*"
|
||||||
target: "/home/code/mcpedia/apps/web/.next"
|
target: "/home/code/mcpedia/apps/web/.next"
|
||||||
|
|
||||||
- name: Deploy to VPS over SSH
|
- name: Deploy to VPS over SSH
|
||||||
|
|||||||
Reference in new issue
Block a user