Skip to content

Commit

Permalink
No cache - we are likely to serve files under the same name
Browse files Browse the repository at this point in the history
  • Loading branch information
3TUSK committed Sep 15, 2024
1 parent 6371696 commit 6ba8a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jiachen-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
# We pass in the profile via env var.
# Apparently `aliyun oss' won't accept --profile args as it used to be.
ALIBABA_CLOUD_PROFILE: main
run: aliyun oss sync --delete --force --backup-dir backup ./jiachen/ oss://$BUCKET/jiachen/puer/test/
run: aliyun oss sync --delete --force --meta=Cache-Control:no-cache --backup-dir backup ./jiachen/ oss://$BUCKET/jiachen/puer/test/
- name: Sync For Prod
id: sync-prod
if: ${{ startsWith(github.ref, 'refs/tags') }}
env:
BUCKET: ${{ secrets.BUCKET }}
ALIBABA_CLOUD_PROFILE: main
run: aliyun oss sync --delete --force --backup-dir backup ./jiachen/ oss://$BUCKET/jiachen/puer/prod/
run: aliyun oss sync --delete --force --meta=Cache-Control:no-cache --backup-dir backup ./jiachen/ oss://$BUCKET/jiachen/puer/prod/

0 comments on commit 6ba8a8a

Please sign in to comment.