From 9af28d01e862abd6fed19f08570e49ceb491221c Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 10:25:20 +0200 Subject: [PATCH 01/11] deploy.yml --- .github/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/deploy.yml diff --git a/.github/deploy.yml b/.github/deploy.yml new file mode 100644 index 0000000..06e8635 --- /dev/null +++ b/.github/deploy.yml @@ -0,0 +1,19 @@ +name: "Deploy" + +on: + pull_request: + types: closed + +jobs: + deploy: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + name: "Deploy on Netlify" + steps: + - uses: actions/checkout@v4 + - uses: jsmrcaga/action-netlify-deploy@master + with: + NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true + build_directory: dist/java-angular-cicd-example/browser \ No newline at end of file From 875ddce481b01a0e024efb4fa6c0bac9faca6416 Mon Sep 17 00:00:00 2001 From: Magnus <100518458+magnusgit1@users.noreply.github.com> Date: Wed, 10 Sep 2025 10:26:54 +0200 Subject: [PATCH 02/11] Create deploy.yml --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..969c524 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: "Deploy" + +on: + pull_request: + types: closed + +jobs: + deploy: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + name: "Deploy on Netlify" + steps: + - uses: actions/checkout@v4 + - uses: jsmrcaga/action-netlify-deploy@master + with: + NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true + build_directory: dist/java-angular-cicd-example/browser From e3772cc5e99f5f62235f3f8974877a7f9f8aebde Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 10:28:47 +0200 Subject: [PATCH 03/11] changed title --- .github/deploy.yml | 19 ------------------- src/app/app.component.html | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/deploy.yml diff --git a/.github/deploy.yml b/.github/deploy.yml deleted file mode 100644 index 06e8635..0000000 --- a/.github/deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: "Deploy" - -on: - pull_request: - types: closed - -jobs: - deploy: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - name: "Deploy on Netlify" - steps: - - uses: actions/checkout@v4 - - uses: jsmrcaga/action-netlify-deploy@master - with: - NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} - NETLIFY_DEPLOY_TO_PROD: true - build_directory: dist/java-angular-cicd-example/browser \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index de43290..bac8da3 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello

+

Hello there!

From {{ domain }}

From 5fb3b635191492b9107d43627d19c01d45a19acf Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 10:37:55 +0200 Subject: [PATCH 04/11] fixed title and deploy-yml --- .github/workflows/deploy.yml | 2 +- src/app/app.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 969c524..3446d54 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,4 +16,4 @@ jobs: NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} NETLIFY_DEPLOY_TO_PROD: true - build_directory: dist/java-angular-cicd-example/browser + build_directory: dist/hello-ci-cd/browser diff --git a/src/app/app.component.html b/src/app/app.component.html index bac8da3..d8aa2ba 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there!

+

Hello there viewer!!

From {{ domain }}

From 22444da8508570571eef23edc3f66923f75c8532 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 11:13:40 +0200 Subject: [PATCH 05/11] test if works without yml --- .github/workflows/deploy.yml | 19 ------------------- src/app/app.component.html | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 3446d54..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: "Deploy" - -on: - pull_request: - types: closed - -jobs: - deploy: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - name: "Deploy on Netlify" - steps: - - uses: actions/checkout@v4 - - uses: jsmrcaga/action-netlify-deploy@master - with: - NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} - NETLIFY_DEPLOY_TO_PROD: true - build_directory: dist/hello-ci-cd/browser diff --git a/src/app/app.component.html b/src/app/app.component.html index d8aa2ba..6057edb 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there viewer!!

+

Hello there viewer xxx

From {{ domain }}

From eaf57421cecb33da43ca5e6bee249438e632b955 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 11:19:39 +0200 Subject: [PATCH 06/11] test-without-yml-2 --- src/app/app.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 6057edb..3fec9cd 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there viewer xxx

+

Hello there viewer pppp

From {{ domain }}

From c39fa9034eafa24bbff9b3b5d12c901f8a1ac104 Mon Sep 17 00:00:00 2001 From: Magnus <100518458+magnusgit1@users.noreply.github.com> Date: Wed, 10 Sep 2025 11:28:03 +0200 Subject: [PATCH 07/11] recreate deploy.yml --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..969c524 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: "Deploy" + +on: + pull_request: + types: closed + +jobs: + deploy: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + name: "Deploy on Netlify" + steps: + - uses: actions/checkout@v4 + - uses: jsmrcaga/action-netlify-deploy@master + with: + NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true + build_directory: dist/java-angular-cicd-example/browser From ea4d097e2a1532c9521bcfb1605ad0ae81da59b8 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 11:31:29 +0200 Subject: [PATCH 08/11] changed-title --- .github/workflows/deploy.yml | 19 ------------------- src/app/app.component.html | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 969c524..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: "Deploy" - -on: - pull_request: - types: closed - -jobs: - deploy: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - name: "Deploy on Netlify" - steps: - - uses: actions/checkout@v4 - - uses: jsmrcaga/action-netlify-deploy@master - with: - NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} - NETLIFY_DEPLOY_TO_PROD: true - build_directory: dist/java-angular-cicd-example/browser diff --git a/src/app/app.component.html b/src/app/app.component.html index 3fec9cd..a8e231c 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there viewer pppp

+

Hello there viewer xyzzzzzzz

From {{ domain }}

From 5db9f5e24dabda3b27f4c7d5d002a041db7c5fc5 Mon Sep 17 00:00:00 2001 From: Magnus <100518458+magnusgit1@users.noreply.github.com> Date: Wed, 10 Sep 2025 11:35:39 +0200 Subject: [PATCH 09/11] Create deploy.yml --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..b03c1d4 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: "Deploy" + +on: + pull_request: + types: closed + +jobs: + deploy: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + name: "Deploy on Netlify" + steps: + - uses: actions/checkout@v4 + - uses: jsmrcaga/action-netlify-deploy@master + with: + NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true + build_directory: dist/angular-hello-ci-cd/browser From ebd5a8d2e8a2c7e6a9f7e48e1a4875abe736f812 Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 11:37:57 +0200 Subject: [PATCH 10/11] changed title once again --- src/app/app.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index a8e231c..28f44b7 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there viewer xyzzzzzzz

+

Hello there viewer magnus errrrrrr

From {{ domain }}

From 7435960b3e43fc4f0da92b23b37023ddb6efadea Mon Sep 17 00:00:00 2001 From: Magnus Hissingby Date: Wed, 10 Sep 2025 11:42:39 +0200 Subject: [PATCH 11/11] fixed title --- .github/workflows/deploy.yml | 2 +- src/app/app.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b03c1d4..3446d54 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,4 +16,4 @@ jobs: NETLIFY_AUTH_TOKEN: ${{ secrets.MY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} NETLIFY_DEPLOY_TO_PROD: true - build_directory: dist/angular-hello-ci-cd/browser + build_directory: dist/hello-ci-cd/browser diff --git a/src/app/app.component.html b/src/app/app.component.html index 28f44b7..9100b51 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello there viewer magnus errrrrrr

+

Hello, Success!

From {{ domain }}