Skip to content

Commit

Permalink
eb: more deploy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jan 12, 2021
1 parent 9c148c5 commit add74b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ebextensions/20-efs.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
# "05-efs":
# command: ln -s /mnt/efs/etc/letsencrypt /etc/letsencrypt
# test: test ! -h /etc/letsencrypt
# ignoreErrors: true
# "06-efs":
# command: mkdir -p /mnt/efs/var/acme-challenges
# test: test ! -d /mnt/efs/var/acme-challenges
# "07-efs":
# command: rm -rf /var/acme-challenges && ln -s /mnt/efs/var/acme-challenges /var/acme-challenges
# command: ln -s /mnt/efs/var/acme-challenges /var/acme-challenges
# test: test ! -h /var/acme-challenges
# ignoreErrors: true
3 changes: 3 additions & 0 deletions .platform/hooks/prebuild/rbenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
# Delete the .ruby-version file to avoid rbenv errors when there's a conflicting version.
# Without this it is impossible to perform even patch version upgrades. It is pretty dumb.
rm -f .ruby-version

# Work around annoying Errno::ENOENT issue?
mkdir -p /var/app/staging/vendor/bundle/ruby/2.7.0/cache

0 comments on commit add74b8

Please sign in to comment.