#Github pages deployment error

3 messages ยท Page 1 of 1 (latest)

covert lotus
#

Hey I'm new to Astro and i'm trying to deploy a simple portfolio template just to test on github pages.

The problem is when I try to deploy it on github pages using github actions, i get this error :

 Configuration file: none
  Logging at level: debug
      GitHub Pages: github-pages v228
      GitHub Pages: jekyll v3.9.3
             Theme: jekyll-theme-primer
      Theme source: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0
         Requiring: jekyll-github-metadata
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
YAML Exception reading /github/workspace/src/layouts/BaseLayout.astro: (<unknown>): could not find expected ':' while scanning a simple key at line 3 column 1 
YAML Exception reading /github/workspace/src/components/CallToAction.astro: (<unknown>): mapping values are not allowed in this context at line 3 column 6 
YAML Exception reading /github/workspace/src/components/Icon.astro: (<unknown>): mapping values are not allowed in this context at line 6 column 6 
YAML Exception reading /github/workspace/src/components/Nav.astro: (<unknown>): mapping values are not allowed in this context at line 6 column 16 
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid YAML front matter in /github/workspace/src/components/Skills.astro

When i look at the Skills.astro file there is basically no errors (it's just the default template file) same for the others files.

If anyone has an idea about what could be wrong I'd be glad to hear it ๐Ÿ˜‰

heavy trail
covert lotus
#

Basically it was just a problem of deployment config in my workflows folder