diff --git a/.firebaserc b/.firebaserc index 416b9b0..5f97bb4 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,5 @@ { "projects": { - "default": "lesv-dev" + "default": "angeltech-001" } } diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml new file mode 100644 index 0000000..0a7bd56 --- /dev/null +++ b/.github/workflows/firebase-hosting-merge.yml @@ -0,0 +1,20 @@ +# This file was auto-generated by the Firebase CLI +# https://github.com/firebase/firebase-tools + +name: Deploy to Firebase Hosting on merge +'on': + push: + branches: + - master +jobs: + build_and_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: sudo apt install hugo && hugo + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ANGELTECH_001 }}' + channelId: live + projectId: angeltech-001 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 44c28a7..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: CI - -on: - push: - branches: - - master - -jobs: - build: - name: Push to production - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - submodules: true - - name: Hugo build and Firebase Deploy - uses: pulimento/github-action-hugo-deploy-to-firebase@1.1.0 - with: - firebase-token: ${{ secrets.secret_firebase_token }} diff --git a/config.toml b/config.toml index cf8daeb..2857032 100644 --- a/config.toml +++ b/config.toml @@ -21,7 +21,7 @@ disableFastRender = true # -------------------------------------------------------------------------- disqusShortname = "les_vogel" -googleAnalytics = "UA-64521263-2" +googleAnalytics = "G-MN653YPY4J" [Author] # Used in authorbox name = "Les Vogel"