-
Notifications
You must be signed in to change notification settings - Fork 375
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
Is there any way to create state file manually ? #470
Comments
By default this action only uploads changed files to the server, unless you have set |
well, in our case, by default it is trying to update all files on first run. we even tried with explicitly stating |
I've managed to get current state contents by using PowerShell to list directories and files. Every file detail includes its full name ( {
"description": "DO NOT DELETE THIS FILE. This file is used to keep track of which files have been synced in the most recent deployment. If you delete this file a resync will need to be done (which can take a while) - read more: https://github.com/SamKirkland/FTP-Deploy-Action",
"version": "1.0.0",
"generatedTime": 1725909769351,
"data": [
{
"type": "folder",
"name": "subdomains"
},
{
"type": "folder",
"name": "subdomains/my-site"
},
{
"type": "file",
"hash": "49de76e8a055e96a892597482c386828fc181996942959393cf8279cc8026211",
"name": "subdomains/my-site/index.html",
"size": 3537
}
]
} I've not yet tested a new deploy on it because I'm exploring the way to get repository tag containing version number to be set as the |
First version of my app is already deployed on server. now I want to deploy only updated files. so is there any way to create state file manually or through command ?
The text was updated successfully, but these errors were encountered: