Skip to content

Commit

Permalink
workflows: deploy: delete old docs before uploading new ones
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Nov 15, 2024
1 parent ea4e62b commit 4c84885
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Upload official docs
if: ${{ github.event_name != 'pull_request' }}
run: |
# Delete the old docs (if they exist)
aws s3 rm --recursive s3://br-www-docs/docs/${{ github.ref_name }}
# Upload the new ones
aws s3 cp --recursive public s3://br-www-docs/docs/${{ github.ref_name }}
# - name: Upload proposal preview
Expand Down

0 comments on commit 4c84885

Please sign in to comment.