diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8563e33..4c6bf94 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: id: deploy run: | aws deploy create-deployment \ - --application-name nodejs-express-app \ - --deployment-group-name nodejs-express-app-cd1 \ + --application-name nodejs-express-app_1 \ + --deployment-group-name nodejs-express-app_cd1 \ --deployment-config-name CodeDeployDefault.OneAtATime \ - --github-location repository=${{ github.repository }},commitId=${{ github.sha }} \ No newline at end of file + --github-location repository=${{ github.repository }},commitId=${{ github.sha }} diff --git a/app.js b/app.js index 28a75fd..af59063 100644 --- a/app.js +++ b/app.js @@ -3,7 +3,7 @@ const app = express(); const hostname = '127.0.0.1'; // Your server ip address const port = 3000; -const version = '2,999,999'; +const version = '1,000'; app.get('/', (req, res) => { // set response content