diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..3e8f958 --- /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@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..940c963 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,7 @@

Hello

From {{ domain }}

+

Just a test to see functionality

+

Adding more stuff

+

One final add