Skip to content

Mylab6/GhostBackUpPublic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So it appears Ghost doesn't offer an API call to backup your entire blog, and I really don't like the idea of backing up to the same service hosting the Blog. With that in mind I wrote a short script using Playwright to login to the admin panel, and export the blog's data. Once the scripts done, it'll upload the data as an action artifact.

This is really rough, but it get's the job done. MIT, so feel free to use it commercially.

Set these 3 variables:

GHOST_LAB_URL: ${{ secrets.GHOST_LAB_URL }} // Your Ghost url GHOST_LAB_USERNAME: ${{ secrets.GHOST_LAB_USERNAME }} GHOST_LAB_PASSWORD: ${{ secrets.GHOST_LAB_PASSWORD }}

Updated for Ghost Blog Version: 5.96.0,

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published