title: firebase public directory error
body: <p>I am trying to upload an updated instance of a website to firebase that I pulled from my collaborator's github repo. I am getting the following error after I use command "firebase deploy":</p>
  
  <blockquote>
    <p>=== Deploying to 'makany-webapp'...</p>
    
    <p>i  deploying hosting</p>
    
    <p><strong>Error</strong>: <em>Specified public directory does not exist, can't deploy hosting</em></p>
  </blockquote>
  
  <p>this is the <em>firebase.json</em> content:</p>
  
  <pre><code>{
    "hosting": {
        "public": "www",
        "ignore": [
          "firebase.json",
          "**/.*",
          "**/node_modules/**"
        ],
        "rewrites": [
          {
            "source": "/public/**",
            "destination": "/public.html"
          },
          {
            "source": "**",
            "destination": "/index.html"
          }
        ]
      }
  }
  </code></pre>
  
  <p>I am trying to deploy from the directory where the firebase.json resides. This same directory contains a "src" folder which contains the index.html file as well as other folder.</p>
  
  <p><a href="https://i.stack.imgur.com/P99mO.png" rel="nofollow noreferrer">current directory and src directory</a></p>