Skip to content

Commit

Permalink
chore: Update AWS image upload root path to '/images'
Browse files Browse the repository at this point in the history
  • Loading branch information
FluroAsh committed Aug 11, 2024
1 parent af687f8 commit ee86bda
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/strapi-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Build & push Docker image
run: |
echo --- Building Dokcer image ---
docker-compose -f server/docker-compose.yml build
docker-compose -f server/docker-compose.yml push
deploy_to_remote:
Expand Down
1 change: 1 addition & 0 deletions server/config/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = ({ env }) => ({
config: {
provider: "aws-s3",
providerOptions: {
rootPath: "images",
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_ACCESS_SECRET"),
region: env("AWS_REGION"),
Expand Down
1 change: 1 addition & 0 deletions server/dist/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = ({ env }) => ({
config: {
provider: "aws-s3",
providerOptions: {
rootPath: "images",
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_ACCESS_SECRET"),
region: env("AWS_REGION"),
Expand Down

0 comments on commit ee86bda

Please sign in to comment.