Skip to content

Commit

Permalink
build: update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 7, 2024
1 parent a293a36 commit c50c4b3
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/deploy-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,14 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'pnpm'

- name: Cache pnpm Store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install pnpm
run: npm install -g pnpm
node-version: '16'
cache: 'npm'

- name: Install Dependencies
run: pnpm install
run: npm install

- name: Build Static Content
run: pnpm run build
run: npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit c50c4b3

Please sign in to comment.