diff --git a/.github/workflows/node.js.release.yml b/.github/workflows/node.js.release.yml index c0618492..91ced58c 100644 --- a/.github/workflows/node.js.release.yml +++ b/.github/workflows/node.js.release.yml @@ -26,7 +26,7 @@ jobs: run: npm install - name: Setting up Git run: | - git remote set-url origin https://GhostVaibhav:${{ secrets.PASS }}@github.com/GhostVaibhav/Simple.git + git remote set-url origin https://GhostVaibhav:${{ secrets.PASS }}@github.com/GhostVaibhav/prod-Simple.git git config --global user.email "48472541+GhostVaibhav@users.noreply.github.com" git config --global user.name "Vaibhav Sharma" - name: Writing to environment variable diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 86ce974c..a960fee9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,22 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - name: Installing dependencies - run: npm install - name: Setting up Git run: | git remote set-url origin https://GhostVaibhav:${{ secrets.PASS }}@github.com/GhostVaibhav/prod-Simple.git git config --global user.email "48472541+GhostVaibhav@users.noreply.github.com" git config --global user.name "Vaibhav Sharma" - - name: Writing to environment variable - run: | - touch .env - echo 'REACT_APP_RECAPTCHA_KEY=${{ secrets.REACT_APP_RECAPTCHA_KEY }}' >> .env - npm install gh-pages --save-dev - - name: Building and deploying the site - run: npm run deploy + git fetch --prune origin