Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lcxfs1991 authored Jan 22, 2024
1 parent d7f7994 commit 839ad33
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ jobs:
run: echo "TIMESTAMP=$(date +%s%3N)" >> $GITHUB_ENV

- name: Fetch default.conf
run: curl https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/rollup/default.conf -O default.conf
- uses: valitydev/action-download-file@v1
with:
url: https://raw.githubusercontent.com/lcxfs1991/docschina-deployment/main/rollup/default.conf
target-path: .

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

- name: Build docs
run: npm i && npm run build:docs
Expand Down Expand Up @@ -60,4 +66,4 @@ jobs:
# 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":"rollup","image":"ccr.ccs.tencentyun.com/docschina/rollup-docs-cn:${{ env.BRANCH_NAME }}-${{ env.TIMESTAMP }}"}'
# output_format: json
# output_format: json

0 comments on commit 839ad33

Please sign in to comment.