From 27c920f76b2e18d18eead89f4e146607ee31206b Mon Sep 17 00:00:00 2001 From: Stian Forren Date: Wed, 10 Sep 2025 12:56:41 +0200 Subject: [PATCH 1/3] first --- src/app/app.component.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/app.component.html b/src/app/app.component.html index de43290..22ab706 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,5 @@

Hello

From {{ domain }}

+

first commit

From 075fd4b5a24144a5c6d6e7337e1cd93190f32496 Mon Sep 17 00:00:00 2001 From: Stian Forren Date: Wed, 10 Sep 2025 13:11:59 +0200 Subject: [PATCH 2/3] second --- src/app/app.component.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/app.component.html b/src/app/app.component.html index 22ab706..e887664 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -2,4 +2,5 @@

Hello

From {{ domain }}

first commit

+

second commit

From 2c46967cc8055796198ce789b6c7e5374dfb238b Mon Sep 17 00:00:00 2001 From: Stianforren <127220668+Stianforren@users.noreply.github.com> Date: Wed, 10 Sep 2025 13:27:10 +0200 Subject: [PATCH 3/3] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2a47f0e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Trigger Netlify Build +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + name: 'Deploy to Netlify' + steps: + - uses: actions/checkout@v3 + - uses: jsmrcaga/action-netlify-deploy@v2.4.0 + with: + NETLIFY_AUTH_TOKEN: ${{ secrets.NEW_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.MY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true + build_directory: dist/hello-ci-cd/browser