mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-07-13 11:03:00 +08:00
update release
This commit is contained in:
parent
086340e007
commit
da5aadee80
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -73,6 +73,9 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
echo "TAG_NAME=${GITHUB_REF#refs/tags/} >> $GITHUB_ENV"
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
@ -88,7 +91,7 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
felinae98/nonebot-bison:latest
|
felinae98/nonebot-bison:latest
|
||||||
felinae98/nonebot-bison:${{ github.event.release.tag_name }}
|
felinae98/nonebot-bison:${{ env.TAG_NAME }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
@ -98,7 +101,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile_with_frontend_sentry
|
file: ./docker/Dockerfile_with_frontend_sentry
|
||||||
push: true
|
push: true
|
||||||
tags: felinae98/nonebot-bison:${{ github.event.release.tag_name }}-sentry
|
tags: felinae98/nonebot-bison:${{ env.TAG_NAME }}-sentry
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
deploy-web:
|
deploy-web:
|
||||||
@ -116,9 +119,9 @@ jobs:
|
|||||||
publish-dir: "./docs/.vuepress/dist"
|
publish-dir: "./docs/.vuepress/dist"
|
||||||
production-deploy: true
|
production-deploy: true
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
deploy-message: "Deploy ${{ github.event.release.tag_name }}"
|
deploy-message: "Deploy ${{ env.TAG_NAME }}"
|
||||||
enable-commit-comment: false
|
enable-commit-comment: false
|
||||||
alias: ${{ github.event.release.tag_name }}
|
alias: ${{ env.TAG_NAME }}
|
||||||
env:
|
env:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user