ci: fix artifact steps for shell executor, simplify deploy
CI/CD / lint-and-typecheck (push) Successful in 8s
CI/CD / test (push) Failing after 0s
CI/CD / build (push) Has been skipped
CI/CD / deploy (push) Has been skipped

This commit is contained in:
2026-05-21 15:26:25 +00:00
parent d475960ce7
commit ac902b48c9
+6 -12
View File
@@ -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"