title: Hugo github actions 404
body: <p>I have a very minimal github actions yml and have mostly set everything to default values. The only difference is that in my <code>config.yml</code> of the website, I have my <code>baseURL</code> set to <code>https://&lt;username&gt;.github.io/</code>.</p>
  <pre><code>name: github pages
  
  on:
    push:
      branches:
        - master
  
  jobs:
    deploy:
      runs-on: ubuntu-18.04
      steps:
        - uses: actions/checkout@v2
          with:
            submodules: true  # Fetch Hugo themes (true OR recursive)
            fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
  
        - name: Setup Hugo
          uses: peaceiris/actions-hugo@v2
          with:
            hugo-version: 'latest'
  
        - name: Build
          run: hugo
  
        - name: Deploy
          uses: peaceiris/actions-gh-pages@v3
          with:
            github_token: ${{ secrets.GITHUB_TOKEN }}
            publish_dir: ./public
  </code></pre>
  <p>The actions all pass, and it says that my page has been deployed, but when I try to access my page (<code>https://&lt;username&gt;.github.io</code>) I get a 404 page not found error. My <code>config.yml</code> is basically:</p>
  <pre><code>baseURL: &quot;https://&lt;username&gt;.github.io/&quot;
  disablePathToLower: true
  languageCode: en
  </code></pre>
  <p>What's wrong here? Could anyone please help? The site builds fine locally and I can see it on my localhost with no issues.</p>
  <p><a href="https://i.stack.imgur.com/k2ySp.png" rel="nofollow noreferrer">Github Actions screenshot</a></p>