sourcetoad / aws-codedeploy-action

AWS CodeDeploy via GitHub Actions
MIT License
36 stars 14 forks source link

Support for "directory" parameter #28

Closed iBotPeaches closed 3 years ago

iBotPeaches commented 3 years ago

So I tried to use "directory" to only code-deploy "build" folder. The zipped folder included that directory and AWS was not happy.

Archive:  643330535-56944eaf5db34c5f5b39ab7e20d9bf81cc914548.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  03-11-2021 11:00   build/
       25  03-11-2021 11:00   build/robots.txt
     1150  03-11-2021 11:00   build/favicon.ico

Should have been:

Archive:  643330535-56944eaf5db34c5f5b39ab7e20d9bf81cc914548.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  03-11-2021 11:00   /
       25  03-11-2021 11:00   robots.txt
     1150  03-11-2021 11:00   favicon.ico

fixes: #26

iBotPeaches commented 3 years ago

This indeed worked on the affected project.

Deploying to alpha.
Deployment in progress. Sleeping 15 seconds. (Try 1)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (1), Succeeded (0)
Deployment Status: InProgress
Deployment in progress. Sleeping 15 seconds. (Try 2)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (1), Succeeded (0)
Deployment Status: InProgress
Deployment in progress. Sleeping 15 seconds. (Try 3)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (1), Succeeded (0)
Deployment Status: InProgress
Deployment in progress. Sleeping 15 seconds. (Try 4)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (1), Succeeded (0)
Deployment Status: InProgress
Deployment in progress. Sleeping 15 seconds. (Try 5)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (1), Succeeded (0)
Deployment Status: InProgress
Deployment in progress. Sleeping 15 seconds. (Try 6)
Instance Overview: Failed (0), In-Progress (0), Skipped (0), Pending (0), Succeeded (1)
Deployment Status: Succeeded
Deployed to alpha!