Skip to content

how to auto get changes after publish? #1344

Open
@bigsinger

Description

@bigsinger

How to integrate into automatic integration.
For example, after writing the MD file, it will automatically compile and then upload the newly added and changed files to the FTP server. There's no need to upload all the files every time。How can I do this?

Now that I have referred to this article deploy, it seems that it has not solved my problem.

However, I have come up with a compromise solution, which is to modify the publish directory to an outer folder, and then manage this folder using SVN or Git. After publishing, by comparing the changes, I can write a Python script to automatically obtain the changed file and upload it to FTP.

The current problem is how to set the parameter publishDir in which configuration file. Please provide an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions