Skip to content
Push Source Code To Envato FTP By packing contents into a zipfile
Shell Dockerfile
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
Dockerfile
LICENSE
README.md
action.yml
entrypoint.sh

README.md

⚠️ Note: To use this GitHub Action, you must have access to GitHub Actions. GitHub Actions are currently only available in public beta. You can apply for Github Actions beta access here.

Envato

Envato FTP Uploader - Github Action

Push Source Code To Envato FTP By packing contents into a zipfile

Configuration

Argument Default Description
ENVATO_USERNAME null Your Envato Account Username
ENVATO_PERSONAL_TOKEN null Your Envato Access Code Personal Access Token. See Blow On How To Get Your Token
CUSTOM_COMMAND null This can be used to pass custom command which can be used to build plugin assets before files are copied to plugin Eg : composer install
EXCLUDE_LIST null Add file / folders/files that you wish to exclude from final list of files to be sent to envato
ASSETS_PATH '.envatoassets/' Add file / Local Assets Path
ASSETS_EXCLUDE_LIST null Add file / folders/files that you wish to exclude from final list of files to be sent to envato. this is just for assets. & can you add files like *.psd

⚠️ Tips:

  • Don't forget to add build directories in exclude_list, Eg. vendor for composer install.
    • node_modules is excluded by default.

Envato Personal Token

  1. Navigate To : https://build.envato.com/my-apps
  2. Scroll Down To : Your personal tokens Heading
  3. Click Create New Token - Refer Below Image
  4. Provide A Token Name
  5. Check First 2 Permissions - Refer Below Image
    1. View and search Envato sites
    2. View the user's Envato Account username
  6. Scroll Down & Click Create Token

Create Token Option

https://raw.githubusercontent.com/varunsridharan/action-envato-publisher/master/assets/1566526864-182.jpg

Token Permissions

https://raw.githubusercontent.com/varunsridharan/action-envato-publisher/master/assets/1566526963-120.jpg


Example Workflow File

name: Enavto Publisher

on:
  push:
    tags:
    - "*"

jobs:
  envatoftp:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Enavto Publisher
    - uses: varunsridharan/action-envato-publisher@master
      with:
        envato_username: ${{ secrets.envato_username }}
        envato_personal_token: ${{ secrets.envato_personal_token }}
        custom_command: "composer install --no-dev"
        exclude_list: "vendor/*/*/README.md vendor/*/*/.gitignore"

Change Log

1.1 [07/09/2019]

  • Added Option To Push Envato Item's Aseets Such as banner , icon & screenshots

1.0 [23/08/2019]

  • First Release

Contribute

If you would like to help, please take a look at the list of issues or the To Do checklist.

License

Our GitHub Actions are available for use and remix under the MIT license.

Copyright

2017 - 2018 Varun Sridharan, varunsridharan.in

If you find it useful, let me know 😉

You can contact me on Twitter or through my email.

Backed By

DigitalOcean JetBrains Tidio Chat
You can’t perform that action at this time.