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
|
cache: npm
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- name: Upload build artifacts
|
- name: Verify build output
|
||||||
uses: actions/upload-artifact@v4
|
run: |
|
||||||
with:
|
du -sh dist/
|
||||||
name: dist
|
echo "Build successful"
|
||||||
path: dist/
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
@@ -54,12 +53,7 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- name: Deploy placeholder
|
||||||
with:
|
|
||||||
name: dist
|
|
||||||
path: dist/
|
|
||||||
- name: Deploy static files
|
|
||||||
run: |
|
run: |
|
||||||
echo "Deploying to production..."
|
|
||||||
echo "Deploy target: /var/www/remote-rig/"
|
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