fix: 修改上有仓库地址

This commit is contained in:
Hk-Gosuto 2023-11-16 12:01:55 +08:00
parent cbf83eae6d
commit f9d36674f8
3 changed files with 13 additions and 20 deletions

View File

@ -10,18 +10,15 @@ jobs:
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- - name: Check out the repo
name: Check out the repo
uses: actions/checkout@v3 uses: actions/checkout@v3
- - name: Log in to Docker Hub
name: Log in to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- - name: Extract metadata (tags, labels) for Docker
name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
@ -29,17 +26,14 @@ jobs:
tags: | tags: |
type=raw,value=latest type=raw,value=latest
type=ref,event=tag type=ref,event=tag
- - name: Set up QEMU
name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- - name: Set up Docker Buildx
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- - name: Build and push Docker image
name: Build and push Docker image
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
@ -49,4 +43,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max

View File

@ -1,8 +1,8 @@
name: Issue Translator name: Issue Translator
on: on:
issue_comment: issue_comment:
types: [created] types: [created]
issues: issues:
types: [opened] types: [opened]
jobs: jobs:

View File

@ -24,7 +24,7 @@ jobs:
id: sync id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4 uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
with: with:
upstream_sync_repo: Yidadaa/ChatGPT-Next-Web upstream_sync_repo: Hk-Gosuto/ChatGPT-Next-Web-LangChain
upstream_sync_branch: main upstream_sync_branch: main
target_sync_branch: main target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set