/pod-repo-push-action

Push podspec to private repo

Primary LanguageJavaScriptMIT LicenseMIT

Pod Repo Push Action

Add podspec to your private repo on tag event. The action will automatically update the podspec version based on the tag name using the version_bump_podspec action from Fastlane.

Inputs

repo-url

Required Specify your podspec private repo source URL.

args

Optional spec lint args.

Example usage

Like in the following example, you can set the username and password URL values to your Github Username and Personal Access Token to be able to push to another repo.

You can also use another action to setup ssh on the build machine, like webfactory/ssh-agent.

- name: pod repo push
    uses: maxep/pod-repo-push-action@0.1.2
    with:
        repo-url: https://maxep:${{ secrets.ACCESS_TOKEN }}@github.com/maxep/cocoapods-specs.git 

Acknowledgements

The initial code is based on wlixcc/pod-lib-update-action.