dpl v2 just left beta, but it's failing with a syntax error in the CloudFormation template, so stick to v1 for now.
This commit is contained in:
parent
a0a8cceda4
commit
e0aaa7e366
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -57,6 +57,12 @@ jobs:
|
|||
env:
|
||||
NODE_OPTIONS: --openssl-legacy-provider
|
||||
|
||||
# Somehow forces dpl v1 to be installed, even though v2 is installed without
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions`
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
|
||||
- name: Upload deployment ZIP
|
||||
if: |
|
||||
env.ACT != 'true'
|
||||
|
@ -71,6 +77,9 @@ jobs:
|
|||
cd build
|
||||
zip -r ../build-zip/$GITHUB_SHA.zip *
|
||||
cd ..
|
||||
# Once dpl 2 works:
|
||||
#sudo gem install --no-document dpl
|
||||
#dpl s3 --bucket zotero-download --local_dir build-zip --upload_dir ci/client --acl public_read
|
||||
sudo gem install --no-document dpl dpl-s3
|
||||
dpl --provider=s3 --bucket=zotero-download --local-dir=build-zip --upload-dir=ci/client --acl=public-read --skip_cleanup=true
|
||||
|
||||
|
|
Loading…
Reference in a new issue