Closed 7yl4r closed 2 weeks ago
Hi @7yl4r,
Unfortunately I setup this Github Action update-dashboard.yaml
to run:
get_data.R
: fetch latest SST & Chl from ERDDAP servers; and make_pages.R
: render template _sanctuary.Rmd
per sanctuaryAnd we are getting the following error:, eg in run @1b64d49:
Access Forbidden -- Your IP address is on this ERDDAP's request blacklist
So instead, I setup a cron job on server rstudio.marinebon.app to run update_dashboard.sh
every Monday with this crontab:
0 0 * * 1 /share/github/noaa-onms/climate-dashboard/scripts/update_dashboard.sh >> /var/log/cron.log 2>&1
See commit https://github.com/noaa-onms/climate-dashboard/commit/51fe33b73e7db091ee57e31b96c0ea3ef679067a
would be good to have a gh action to build the site before deploying