Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Gayan-98 committed Oct 9, 2024
1 parent 9c02a73 commit 7d4257b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ jobs:
cd frontend
npm install
- name: Build Project
- name: Build Project with Ignored Checks
env:
CI: false # Disable strict CI checks
run: |
cd frontend
npm run build
npm run build:ignore-checks # Custom script to ignore certain checks
- name: Upload artifact to enable deployment
uses: actions/upload-artifact@v3
with:
name: production-file # Fix the typo here
name: production-file
path: ./frontend/build

# Deploy Job
Expand All @@ -42,11 +44,11 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: production-file # Use the correct artifact name
name: production-file
path: ./frontend/build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.KEY }} # Use correct token secret
github_token: ${{ secrets.KEY }}
publish_dir: ./frontend/build

0 comments on commit 7d4257b

Please sign in to comment.