diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f660148..02e1b2d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,20 +22,22 @@ jobs: node-version: 18.x # cache: npm - - name: Set Variables Data - env: - REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} - run: | - echo ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} + # - name: Set Variables Data + # env: + # REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} + # run: | + # echo ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} - - name: Install dependencies - run: | - npm ci + # - name: Install dependencies + # run: | + # npm ci - - name: Install dependencies & Build website + - name: Set Variables Data, Install dependencies & Build website run: | + npm ci cd documentation npm ci + REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} npm run build - name: Deploy to GitHub Pages diff --git a/documentation/package.json b/documentation/package.json index efcbde8..48285f9 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -8,7 +8,7 @@ "dev:lean": "DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true npm run start", "dev:docs": "DISABLE_BLOG=true npm run dev:lean", "dev:blog": "DISABLE_DOCS=true LIVE_PREVIEW_URL=https://next.live-previews.prepverse.github.io/preview npm run dev:lean", - "build": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build", + "build": "NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build", "build:plugins": "sucrase ./plugins -d ./plugins --transforms typescript,imports && npx prettier --write ./plugins", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy",