Skip to content

Commit

Permalink
fix: resolve deploy workflow (#100)
Browse files Browse the repository at this point in the history
- Change job name from `build:` to `deploy:` in the deployment workflow for clarity
- Add step in the build workflow to check the generated `dist` folder
- Ensure that the `dist` folder is properly generated before deployment
  • Loading branch information
Fingertips18 authored Jan 18, 2025
1 parent 8a750b8 commit 95cc307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Run Build
run: npm run build

- name: Check `dist` folder
run: ls -alh dist

- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
build:
deploy:
name: Deploy Application
runs-on: ubuntu-latest

Expand Down

0 comments on commit 95cc307

Please sign in to comment.