Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Envato Publisher

Actions
Github Action Which Publishes Final Source Code To Envato FTP
1.0
Star (1)

⚠️ 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_access_code 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 that you wish to exclude from final list of files to be sent to envato

⚠️ 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:
    branches:
    - refs/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"

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

Envato Publisher is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github Action Which Publishes Final Source Code To Envato FTP
1.0

Envato Publisher is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.