Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirajn2311 committed Nov 8, 2021
1 parent 815efb2 commit 64e7194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
with:
persist-credentials: false

- uses: hmarr/debug-action@v2
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm run build
env:
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_URL }}
REACT_APP_SHEETS_API_KEY: ${{ secrets.REACT_APP_SHEETS_API_KEY }}
run: |
echo $REACT_APP_SHEETS_API_KEY
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
Expand Down
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const BlogApp = lazy(() => import('./components/Blogs/BlogApp'));
// import Timeline from "./components/Timeline/timeline";
class App extends React.Component {
render() {
console.log(process.env.REACT_APP_SHEETS_API_KEY);
return (
<>
<div id="wrapper" className="d-flex flex-column">
Expand Down

0 comments on commit 64e7194

Please sign in to comment.