From a48913b4fb77d3b1481726d8dcd1564f7bf79195 Mon Sep 17 00:00:00 2001 From: Marie Helene Hansen Date: Wed, 10 Sep 2025 10:24:03 +0200 Subject: [PATCH] test --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ src/app/app.component.html | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) 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..dda1480 --- /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/hello-ci-cd/browser \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index de43290..0b81f7f 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,4 @@
-

Hello

+

Hello Dave

From {{ domain }}