Skip to content

Commit

Permalink
fix yml
Browse files Browse the repository at this point in the history
  • Loading branch information
happy9990929 committed Jan 16, 2024
1 parent d63518c commit 02779a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2.3.1
with:
node-version: 16.20.2
- uses: actions/checkout@v3
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm ci
Expand All @@ -33,7 +31,6 @@ jobs:
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
node-version: 16.20.2
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Settings > Secret 建立的 ACCESS_TOKEN
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
Expand Down

0 comments on commit 02779a1

Please sign in to comment.