ci: update workflows config.
This commit is contained in:
parent
fad6a20b13
commit
63725cf4ab
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
commit_message: ${{ github.event.head_commit.message }}
|
commit_message: ${{ github.event.head_commit.message }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
- run: docker buildx prune
|
- run: docker buildx prune
|
||||||
|
|
||||||
- name: Build and push image:latest
|
- name: Build and push image:latest
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
@ -142,7 +142,7 @@ jobs:
|
|||||||
tags: wcjiang/reference:latest
|
tags: wcjiang/reference:latest
|
||||||
|
|
||||||
- name: Build and push image:tags
|
- name: Build and push image:tags
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v5
|
||||||
if: steps.create_tag.outputs.successful
|
if: steps.create_tag.outputs.successful
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user