Skip to content
Discussion options

You must be logged in to vote

Hi @comsup, I wrote a tutorial about deploying a Flynt theme with GitHub Actions:
https://css-tricks.com/continuous-deployments-for-wordpress-using-github-actions/
In that article, I'm primarily excluding the node_modules and .git directories from the deployment.

Depending on your build configuration, you might also exclude the assets folder, as all assets should be revved and copied over into the dist folder after the build step. But your assets folder might also include files that do not get copied over and would be missing.

Additionally, you could exclude the dotfiles, the composer-, webpack- and other build-files from the theme root directory.
But excluding the node_modules (and .git

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@comsup
Comment options

Answer selected by steffenbew
Comment options

You must be logged in to vote
9 replies
@comsup
Comment options

@domtra
Comment options

@comsup
Comment options

@domtra
Comment options

@comsup
Comment options

Comment options

You must be logged in to vote
2 replies
@harunbleech
Comment options

@comsup
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants