chore: update GitHub Actions workflows for improved artifact handling and debugging

- Added an ID to the artifact upload step for better tracking.
- Enhanced the verification step to include workflow and repository information.
- Updated permissions to allow writing actions in the deploy workflow.
- Added debug information to the deploy workflow for better visibility of event details.
This commit is contained in:
Mauricio Siu
2025-03-16 11:12:45 -06:00
parent 2291e9a5d1
commit 7e9dda562b
2 changed files with 23 additions and 9 deletions

View File

@@ -38,6 +38,7 @@ jobs:
run: ls -la app/dist
- name: Upload build artifact
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: preview-build
@@ -45,4 +46,7 @@ jobs:
retention-days: 1
- name: Verify artifact upload
run: echo "Artifact upload completed with ID ${{ steps.upload-artifact.step.outputs.artifact-id }}"
run: |
echo "Artifact upload completed"
echo "Workflow ID: ${{ github.run_id }}"
echo "Repository: ${{ github.repository }}"