use new bucket for ci snapshots

This commit is contained in:
Sam Tobin-Hochstadt 2020-06-02 12:04:41 -04:00
parent e496805f82
commit 257eb13e29
2 changed files with 3 additions and 3 deletions

View File

@ -48,4 +48,4 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSecretKey }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSecretKey }}
run: | run: |
ls -l ${{ runner.temp }}/site-dest/ci-snapshots/ ls -l ${{ runner.temp }}/site-dest/ci-snapshots/
raco s3-sync --acl public-read --web --redirect-links ${{ runner.temp }}/site-dest/ci-snapshots/ s3://snapshot.racket-lang.org/ci-snapshots/ raco s3-sync --acl public-read --web --redirect-links ${{ runner.temp }}/site-dest/ci-snapshots/ s3://ci-snapshot.racket-lang.org/

View File

@ -12,9 +12,9 @@
(define (dest-dir-name) (define (dest-dir-name)
(case (current-mode) (case (current-mode)
[("release") "ci-release"] [("release") "ci-release"]
[else (~a "ci-snapshots/" (current-stamp))])) [else (~a (current-stamp))]))
(define server-base-url (~a "https://snapshots.racket-lang.org/" (dest-dir-name) "/")) (define server-base-url (~a "https://ci-snapshot.racket-lang.org/" (dest-dir-name) "/"))
(define distro-content (define distro-content
'("main-distribution")) '("main-distribution"))