Skip to content

Commit

Permalink
feat:action token
Browse files Browse the repository at this point in the history
  • Loading branch information
yuehuazhang committed Jul 27, 2024
1 parent c11bdbf commit 5e3fc63
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ on:
push:
branches:
- master
- feat/docker-action
paths-ignore:
- 'README.md'
- 'README_en.md'
- 'docs/**'
- '.github/**'
# - '.github/**'
- 'docker/docker-compose.yaml'
pull_request:
branches:
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
- name: Free Up Disk Space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 62464 # 给 / 预留 61GiB 空间( docker 预留)
root-reserve-mb: 20480 # 给 / 预留 20GiB 空间( docker 预留)
swap-size-mb: 1
remove-dotnet: 'true'
remove-android: 'true'
Expand Down Expand Up @@ -142,4 +143,5 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "feat: update docker image tag to ${{ env.image_tag }}"
git push
# git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/chatchat-space/Langchain-Chatchat.git HEAD:master
git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/yuehua-s/Langchain-Chatchat.git HEAD:master

0 comments on commit 5e3fc63

Please sign in to comment.