Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit sitemap automatically #11

Open
rootwork opened this issue Jan 14, 2021 · 5 comments
Open

Submit sitemap automatically #11

rootwork opened this issue Jan 14, 2021 · 5 comments
Labels
build GitHub actions and other build-deploy issues sitemap Issues related to the sitemap generation and commits

Comments

@rootwork
Copy link
Member

Followup to #5, we should have an action that submits the sitemap every time that file changes.

Started building one, but so far it's skipping every time.

@rootwork rootwork added build GitHub actions and other build-deploy issues sitemap Issues related to the sitemap generation and commits labels Jan 14, 2021
@rootwork
Copy link
Member Author

It looks like the old action that is being used might be pinging the wrong address.

The correct address for submitting to Google is:

https://www.google.com/ping?sitemap=https://www.titaniumringsforever.com/sitemap.xml

@rootwork
Copy link
Member Author

@rootwork
Copy link
Member Author

This might be working? Need to check on another day to see if this workflow:

https://github.com/exotica-jewelry/ringsforever/actions?query=workflow%3A%22Sitemap+submitter%22

is actually generating an updated sitemap here:

https://search.google.com/u/2/search-console/sitemaps?resource_id=http%3A%2F%2Fwww.titaniumringsforever.com%2F&hl=en

@rootwork
Copy link
Member Author

Folded it into one action:
5f01ee7#diff-87ee5504a3e25ac558b343724c905f2f7949e8cec3d92b9c4300bb922afa164f

Still need to check, then, if THIS action is submitting (it seems like it is):
https://github.com/exotica-jewelry/ringsforever/actions?query=workflow%3A%22Sitemap+generator%22

Ideally it should be changed so it only commits & submits (ha) when there is a change to the sitemap, not on every push to GH.

@rootwork
Copy link
Member Author

It is definitely submitting; need to check if it only builds & submits when there's a change to the sitemap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build GitHub actions and other build-deploy issues sitemap Issues related to the sitemap generation and commits
Projects
None yet
Development

No branches or pull requests

1 participant