Skip to content

Commit

Permalink
cd: install gh-pages only (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 authored Jan 19, 2025
1 parent efc2b99 commit 8ae3eb7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

- name: Cache Node Modules
uses: actions/cache@v4
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Download Build Artifact
uses: dawidd6/action-download-artifact@v7
with:
Expand All @@ -43,7 +33,7 @@ jobs:
node-version: latest

- name: Install Dependencies
run: npm ci --cache .npm --prefer-offline
run: npm install gh-pages --save-dev

- name: Deploy to GitHub Pages
run: npx gh-pages -d dist --repo https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Fingertips18/fingertips18.github.io.git

0 comments on commit 8ae3eb7

Please sign in to comment.