Minimal: only important info, standard: important info and basic file changes, verbose: print everything the script is doing You can use a glob tester to test your pattern(s). Prints which modifications will be made with current config options, but doesn't actually make any changesĭeletes ALL contents of server-dir, even items in excluded with 'exclude' argumentĪn array of glob patterns, these files will not be included in the publish/delete process. Path and name of the state file - this file is used to track which files have been deployed Server port to connect to (read your web hosts docs)įtp: provides no encryption, ftps: full encryption newest standard (aka "explicit" ftps), ftps-legacy: full encryption legacy standard (aka "implicit" ftps)įolder to upload from, must end with trailing slash /įolder to upload to (on the server), must end with trailing slash / Key NameįTP password, be sure to escape quotes and spaces I strongly recommend you store your password as a secret. To add a secret go to the Settings tab in your project then select Secrets. yml config file or referenced from your project Secrets storage. If you appreciate this github action give it a ⭐ or show off with one of the badges below.Now you need to add a key to the secrets section in your project.Paste the example above into your yaml file and save.Select Blank workflow file or Set up a workflow yourself, if you don't see these options manually create a yaml file Your_Project/.github/workflows/main.yml.Select the repository you want to add the action to.Some web hosts change the default port (21), check with your host for your port number.If your host allows or requires ssh please use my web-deploy action You must have ftp access to your server.Server: username: myFtpUserName password: $ name: □ Get latest code uses: name: □ Sync files uses: with: Name: □ Deploy runs-on: ubuntu-latest steps: On: push name: □ Deploy website on push jobs:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |