Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RafikHamza authored Oct 8, 2024
1 parent 4b53fa9 commit 8c2e2e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3 # Updated to v3

- name: Set up Node.js
uses: actions/setup-node@v3 # Update to version 3
uses: actions/setup-node@v3 # Keep this at v3
with:
node-version: '20' # Change to Node.js version 20
node-version: '20' # Specify Node.js version 20

- name: Install dependencies
run: npm install
Expand All @@ -25,7 +25,7 @@ jobs:
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3 # Ensure this is the latest version
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public # This assumes your build output is in the 'public' folder
publish_dir: ./public # Adjust if your output directory is different

0 comments on commit 8c2e2e2

Please sign in to comment.