GeoKL / GeoKL-agis-WS-21-22

Reporsitory for GIS course website
0 stars 0 forks source link

new website #3

Open GeoKL opened 2 years ago

GeoKL commented 2 years ago

Hello @gisma, I managed to create a new website (in the same repository) and I was able to make it run eventually!

I do have an issue though: When i run

blogdown::build_site()

R creates a 'public' folder and puts all the data in there. So, to publish my website, I had to manually create a 'docs' folder and copy everything from 'public' in there. As you can see, I have the publishDIR set to docs in my config.yaml and I have also searched everywhere else in my folders to find the problem - without success. Do you maybe have an idea?

Best regards, Kathi

gisma commented 2 years ago

Hi @GeoKL pretty easy to solve: you have to add the line publishDir: docs in your config.yaml file. best Chris

GeoKL commented 2 years ago

Hello @gisma, as described, I already have the publishDir:docs line in the config.yaml - so that is not it. Or is there another config.yaml file somewhere? Best regards

GeoKL commented 2 years ago

Hello @gisma, changing the netlify.toml file does not solve the problem either unfortunately. I also tried changing 'public' to 'docs' in the deploy.sh file - this also did not help.. However the website runs (when I copy the folder manually) - so I'm happy for now. Thanks for the help!