-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
del: deleted the extra steps for pushing to prod
- Loading branch information
1 parent
8f8cfad
commit 823d507
Showing
2 changed files
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
git config --global user.name "Vaibhav Sharma" | ||
- name: Writing to environment variable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 |