Search
⌃K
OnePub
Guides
Installing
Install CLI tools
Register
Invite a member
Accept an Invite
CLI integration
Manually add publish_to
Implicit Integration
IDE integration
Pre Dart 2.15
Pre Dart 2.12
Searching
Watching packages
Publishing Packages
Private dependencies
CLI Tools
CI/CD
SSH
Docker
Community Choice Awards
Fundamentals
Members
Teams
Roles
Naming Packages
Workflows
Distributing to Customers
For Support
Setting up CI/CD
Vendoring Dependencies
Switching Organisations
FAQ
Solved by OnePub
Data Retention Policy
Payments
Powered By GitBook

Manually add publish_to

Manually edit pubspec.yaml

Login to OnePub and copy the `publish_to:` URL from the profile page:
​
​
​
Add a publish_to key to your pubspec.yaml.
name: onepub
version: 1.1.0
​
# Set onepub as the publish target.
publish_to: https://onepub.dev/api/xxxxxxx
​
​
Previous
CLI integration
Next
Implicit Integration
Last modified 1yr ago