generated from CubeCraft-Creations/Tracehound
ci: fix artifact steps for shell executor, simplify deploy
This commit is contained in:
@@ -42,11 +42,10 @@ jobs:
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
- name: Verify build output
|
||||
run: |
|
||||
du -sh dist/
|
||||
echo "Build successful"
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
@@ -54,12 +53,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
- name: Deploy static files
|
||||
- name: Deploy placeholder
|
||||
run: |
|
||||
echo "Deploying to production..."
|
||||
echo "Deploy target: /var/www/remote-rig/"
|
||||
echo "Placeholder — configure deploy target before merging to main"
|
||||
echo "Configure deploy command before merging to main"
|
||||
|
||||
Reference in New Issue
Block a user