-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Publish a package from Github
Sebastian Schmidt edited this page Aug 30, 2021
·
10 revisions
- Get your API KEY
- Set up GitHub Secrets in GitHub Action workflow
- On GitHub, navigate to the main page of your fork of this repository.
- Under your repository name, click on the "Settings" tab.
- In the left sidebar, click "Secrets".
- On the right bar, click on "New repository secret"
- Type a name for your secret
PUBLISH_API_KEY
in the "Name" input box. - Paste your API KEY as the value for your secret.
- Click Add secret.
Make sure you test your package toughly before proceeding.
https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
- Open GitHub.com and navigate to the build action: https://github.com/{YOUR_GITHUB_USERNAME}/spksrc/actions/workflows/build.yml
- Click the
Run Workflow
button. Enter the package name you want to publish - Type "true" in the
Publish to repository
field and clickRun Workflow
- If everything went well, you should see the package build and published to synocommunity.com
- Do final tests and finally Activate your package
- Celebrate! 🥳
CLI (github cli)
-
gh workflow -R {YOUR_GITHUB_USERNAME}/spksrc run build.yml -f package=nop -f publish=false
- See the build status
gh run -R {YOUR_GITHUB_USERNAME}/spksrc watch && notify-send "🛠 Build is done! 🎉"
- See the build status
- If everything went well, you should see the package build and published to synocommunity.com
- Do final tests and finally Activate your package
- Celebrate! 🥳
- Create a tag with the following format:
packagename-version
git tag -a -s -m lidarr-0.8.0.2042 lidarr-0.8.0.2042
- Push the tag to your fork:
git push --tags origin lidarr-0.8.0.2042
- If everything went well, you should see the package artifacts attached to your GitHub release.
- Home
-
Packages
- Adminer
- Aria2
- Beets
- BicBucStriim
- Borgmatic
- cloudflared
- Comskip
- Debian Chroot
- Deluge
- Duplicity
- dnscrypt-proxy
- FFmpeg
- FFsync
- Flexget
- Gstreamer
- Google Authenticator
- Home Assistant Core
- Jellyfin
- Kiwix
- [matrix] Synapse homeserver
- MinIO
- Mono
- Mosh
- Mosquitto
- Node-Exporter
- Radarr/Sonarr/Lidarr/Jackett
- SaltStack
- SickBeard Custom
- SynoCLI-Disk
- SynoCLI-Devel
- SynoCLI-File
- SynoCLI-Kernel
- SynoCLI-Misc.
- SynoCLI-Monitor
- SynoCLI-NET
- Synogear
- Concepts
- Development
- Resources