Skip to content

Commit

Permalink
Update deploy.yml for production deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
SophiaSun18 committed Apr 8, 2024
1 parent 3ba0a47 commit 9d31bdc
Show file tree
Hide file tree
Showing 6 changed files with 946 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
working-directory: ./client-course-schedulizer
strategy:
matrix:
node-version: [14.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: npm install
run: pnpm install
working-directory: ${{env.working-directory}}
- name: Build Page
run: npm run build
run: pnpm run build
working-directory: ${{env.working-directory}}
- name: Remove gh-pages Cache
run: rm -rf node_modules/gh-pages/.cache
Expand Down
Loading

0 comments on commit 9d31bdc

Please sign in to comment.