You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Envato Publisher
1.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.
Push Source Code To Envato FTP By packing contents into a zipfile
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 |
- Don't forget to add build directories in
exclude_list
, Eg.vendor
forcomposer install
.node_modules
is excluded by default.
- Navigate To : https://build.envato.com/my-apps
- Scroll Down To :
Your personal tokens
Heading - Click Create New Token - Refer Below Image
- Provide A Token Name
- Check First 2 Permissions - Refer Below Image
- View and search Envato sites
- View the user's Envato Account username
- Scroll Down & Click Create Token
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"
- Added Option To Push Envato Item's Aseets Such as banner , icon & screenshots
- First Release
If you would like to help, please take a look at the list of issues or the To Do checklist.
Our GitHub Actions are available for use and remix under the MIT license.
2017 - 2018 Varun Sridharan, varunsridharan.in
If you find it useful, let me know 😉
You can contact me on Twitter or through my email.