From d6cfaedba873a7c984a5343d3dc272db581f087b Mon Sep 17 00:00:00 2001 From: Sandeep Date: Fri, 15 Mar 2024 15:05:02 +0800 Subject: [PATCH] feat: :zap: updated ci for trackjs --- .github/actions/build/action.yml | 4 ++++ .github/workflows/release_production.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index e4dbb33c..a82e3845 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -5,11 +5,15 @@ inputs: description: Node environment required: false default: staging + TRACKJS_TOKEN: + description: Trackjs Token + required: false runs: using: composite steps: - name: Building Docusaurus project env: NODE_ENV: ${{ inputs.NODE_ENV }} + TRACKJS_TOKEN: ${{ inputs.TRACKJS_TOKEN }} run: npm run build shell: bash diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index 6ba9df4b..dc4e98fe 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -23,6 +23,7 @@ jobs: uses: ./.github/actions/build with: NODE_ENV: production + TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }} - name: Versioning uses: ./.github/actions/versioning with: