Skip to content

Commit

Permalink
Adjusted zip/unzip protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
srm985 committed Apr 3, 2024
1 parent 760239d commit afcb1ec
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: public.zip
path: ./
name: artifacts
path: public.zip

deploy:
name: Deploy
Expand All @@ -129,10 +129,13 @@ jobs:
# Download artifacts
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: artifacts
path: ./

# Unzip artifacts
- name: Unzip artifacts
run: unzip -o ./public.zip -d ./public
run: unzip ./public.zip -d ./public

# Prepare AWS SDK
- name: Prepare AWS SDK
Expand All @@ -144,4 +147,4 @@ jobs:

# Deploy portfolio website
- name: Deploy
run: aws s3 sync ./public s3://${{ vars.S3_BUCKET_NAME }} --delete
run: aws s3 sync ./public/ s3://${{ vars.S3_BUCKET_NAME }} --delete

0 comments on commit afcb1ec

Please sign in to comment.