Skip to content

Commit

Permalink
Update actions version.
Browse files Browse the repository at this point in the history
  • Loading branch information
wzf03 committed Feb 20, 2024
1 parent 5186313 commit 123fcb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
OPENJUDGE_PASSWORD: ${{ secrets.OPENJUDGE_PASSWORD }}
OPENJUDGE_HOST: rjsj.openjudge.cn
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get data
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: pku-software/homework-answer-data
token: ${{ secrets.DATA_REPO_PAT }}
path: "./data"
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm build
- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v3
with:
path: "./docs/.vuepress/dist"
deploy:
Expand All @@ -42,5 +42,5 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/deploy-pages@v1
- uses: actions/deploy-pages@v4
id: deployment

0 comments on commit 123fcb0

Please sign in to comment.