From a7133633ab6f141d1676bea58b5bff72c11cd23d Mon Sep 17 00:00:00 2001 From: Rafmenni Date: Thu, 15 Aug 2024 19:10:13 +0200 Subject: [PATCH 1/9] Master --- hello.js | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 hello.js diff --git a/hello.js b/hello.js deleted file mode 100644 index 6904cd4..0000000 --- a/hello.js +++ /dev/null @@ -1,4 +0,0 @@ -const hello = () => "Hello World from the Office Hours in the terminal!"; -console.log(hello()); -exports.hello = hello; - From ede3b3888e168fa377bea3dcffc0f8c1184053b7 Mon Sep 17 00:00:00 2001 From: Rafmenni Date: Thu, 15 Aug 2024 19:21:29 +0200 Subject: [PATCH 2/9] =?UTF-8?q?mise=20=C3=A0=20jour=20fichier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hello.js diff --git a/hello.js b/hello.js new file mode 100644 index 0000000..bb451f3 --- /dev/null +++ b/hello.js @@ -0,0 +1,6 @@ +const hello = require("./hello"); +describe("My hello", () => { + test("works", () => { + expect(hello.hello()).toEqual("Hello World from France!"); + }); +}); From 14746a3983b3d2b583089cd73e2059eb677264d5 Mon Sep 17 00:00:00 2001 From: RafMenni Date: Thu, 15 Aug 2024 19:35:43 +0200 Subject: [PATCH 3/9] Update hello.js --- hello.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hello.js b/hello.js index bb451f3..b68cbe6 100644 --- a/hello.js +++ b/hello.js @@ -1,6 +1,3 @@ -const hello = require("./hello"); -describe("My hello", () => { - test("works", () => { - expect(hello.hello()).toEqual("Hello World from France!"); - }); -}); +const hello = () => "Hello World from France"; +console.log(hello()); +exports.hello = hello; From 616be157dbb1e5aa8d69ac8d10fb8340c4107822 Mon Sep 17 00:00:00 2001 From: Rafmenni Date: Thu, 15 Aug 2024 19:38:15 +0200 Subject: [PATCH 4/9] =?UTF-8?q?mise=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.js b/hello.js index b68cbe6..e382484 100644 --- a/hello.js +++ b/hello.js @@ -1,3 +1,3 @@ -const hello = () => "Hello World from France"; +const hello = () => "Hello World from France!"; console.log(hello()); exports.hello = hello; From c62cf780f821e23a7ef9f7e03ce4c7ce0bd6b41e Mon Sep 17 00:00:00 2001 From: Rafmenni Date: Thu, 15 Aug 2024 19:40:10 +0200 Subject: [PATCH 5/9] =?UTF-8?q?mise=20=C3=A0=20jour=20hello=20test=20corre?= =?UTF-8?q?ction=20erreur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.test.js b/hello.test.js index 23ec8b9..bb451f3 100644 --- a/hello.test.js +++ b/hello.test.js @@ -1,6 +1,6 @@ const hello = require("./hello"); describe("My hello", () => { test("works", () => { - expect(hello.hello()).toEqual("Hello World from the Office Hours in the terminal!"); + expect(hello.hello()).toEqual("Hello World from France!"); }); }); From 1d850fd92c1d5046d279ea2272608f12059be823 Mon Sep 17 00:00:00 2001 From: Rafmenni Date: Thu, 15 Aug 2024 20:07:23 +0200 Subject: [PATCH 6/9] mise a jour s3 amz --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 223662b..eeb6099 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: with: args: --acl public-read --follow-symlinks --delete env: - AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} + AWS_S3_BUCKET: ${{ 's3://rafik-mit' }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: "us-east-1" # optional: defaults to us-east-1 From 5c42001b6ff8e47033d1e7f61fb71cca8b78a5c4 Mon Sep 17 00:00:00 2001 From: RafMenni Date: Thu, 15 Aug 2024 20:17:54 +0200 Subject: [PATCH 7/9] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eeb6099..f9f3f89 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,6 @@ jobs: args: --acl public-read --follow-symlinks --delete env: AWS_S3_BUCKET: ${{ 's3://rafik-mit' }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_ACCESS_KEY_ID: ${{ 'AKIA3LET5ZQQ7KMURB2D' }} + AWS_SECRET_ACCESS_KEY: ${{ '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' }} AWS_REGION: "us-east-1" # optional: defaults to us-east-1 From a3b5b202036286a4155c605f3577f571e11e3fa0 Mon Sep 17 00:00:00 2001 From: RafMenni Date: Thu, 15 Aug 2024 20:24:36 +0200 Subject: [PATCH 8/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9f3f89..6d837de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: with: args: --acl public-read --follow-symlinks --delete env: - AWS_S3_BUCKET: ${{ 's3://rafik-mit' }} + AWS_S3_BUCKET: ${{ 'arn:aws:s3:::rafik-mit' }} AWS_ACCESS_KEY_ID: ${{ 'AKIA3LET5ZQQ7KMURB2D' }} AWS_SECRET_ACCESS_KEY: ${{ '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' }} AWS_REGION: "us-east-1" # optional: defaults to us-east-1 From 699ae1b34f9147fadc55caa4137911dda74552b6 Mon Sep 17 00:00:00 2001 From: RafMenni Date: Thu, 15 Aug 2024 20:27:14 +0200 Subject: [PATCH 9/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d837de..8797ac0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: with: args: --acl public-read --follow-symlinks --delete env: - AWS_S3_BUCKET: ${{ 'arn:aws:s3:::rafik-mit' }} + AWS_S3_BUCKET: ${{ 'rafik-mit' }} AWS_ACCESS_KEY_ID: ${{ 'AKIA3LET5ZQQ7KMURB2D' }} AWS_SECRET_ACCESS_KEY: ${{ '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' }} AWS_REGION: "us-east-1" # optional: defaults to us-east-1