Skip to content

Commit

Permalink
feat: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
lcxfs1991 committed Jan 23, 2024
1 parent 9cd737a commit 6571088
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: Fetch default.conf
uses: valitydev/action-download-file@v1
with:
url: https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/stencil/default.conf
url: https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/gfm/default.conf
target-path: .

- name: Fetch Dockerfile
uses: valitydev/action-download-file@v1
with:
url: https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/stencil/Dockerfile
url: https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/gfm/Dockerfile
target-path: .

- name: Setup Node
Expand Down Expand Up @@ -63,13 +63,13 @@ jobs:
context: .
push: true
platforms: linux/amd64
tags: ccr.ccs.tencentyun.com/docschina/stencil:${{ env.BRANCH_NAME }}-${{ env.TIMESTAMP }}
tags: ccr.ccs.tencentyun.com/docschina/gfm:${{ env.BRANCH_NAME }}-${{ env.TIMESTAMP }}

- name: Deployment
uses: TencentCloud/cli-action@v1
with:
secret_id: ${{ secrets.SECRET_ID }}
secret_key: ${{ secrets.SECRET_KEY }}
region: ${{ secrets.LIGHTHOUSE_REGION }}
commands: tat InvokeCommand --cli-unfold-argument --region ap-shanghai --CommandId cmd-boc4aaiw --InstanceIds lhins-nkwfootc --Parameters '{"deployment":"stencil","image":"ccr.ccs.tencentyun.com/docschina/stencil:${{ env.BRANCH_NAME }}-${{ env.TIMESTAMP }}"}'
commands: tat InvokeCommand --cli-unfold-argument --region ap-shanghai --CommandId cmd-boc4aaiw --InstanceIds lhins-nkwfootc --Parameters '{"deployment":"gfm","image":"ccr.ccs.tencentyun.com/docschina/gfm:${{ env.BRANCH_NAME }}-${{ env.TIMESTAMP }}"}'
output_format: json

0 comments on commit 6571088

Please sign in to comment.