diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f42e319 --- /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 \ No newline at end of file diff --git a/angular.json b/angular.json index e34620a..b8e72eb 100644 --- a/angular.json +++ b/angular.json @@ -91,5 +91,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/src/app/app.component.html b/src/app/app.component.html index de43290..121c1d8 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,6 @@

Hello

From {{ domain }}

+

Hello again!

+

Hello for the last time...