Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishannaik committed Apr 19, 2024
1 parent 277e609 commit 7b9a922
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
run: |
npm install
cd server && npm run build
# Find the dist directory and set it as an output variable
find . -type d -name "dist" -exec echo "::set-output name=dist_folder::{}" \;
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGES_TOKEN }}
publish_dir: /client/dist # Change this to your build output directory
publish_dir: ${{ steps.deploy.outputs.dist_folder }} # Use the dist folder found in the previous step

0 comments on commit 7b9a922

Please sign in to comment.