diff --git a/README.md b/README.md index ab045ed..098dbcc 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,9 @@ A `Makefile` is integrated to let you run some basic commands. rpmbuild -ba netoik-rp.spec ``` -- To upload rpm package to Gitea repository: +- To upload rpm package to Gitea repository +(env vars `GIT_PACKAGES_USERNAME` and `GIT_PACKAGES_TOKEN` needed): ```shell - # This command needs 2 env variables: - # GIT_PACKAGES_USERNAME and GIT_PACKAGES_TOKEN make upload ``` @@ -62,21 +61,25 @@ Two workflows are set up. # Deployment -Some commands to deploy the RPM package on server: +Some commands to deploy the RPM package on server + +- To add Gitea repo to your repo list: ```shell - # Add Gitea repo to your repolist dnf config-manager --add-repo https://git.netoik.io/api/packages/samuel/rpm.repo - - # Check Gitea repo is added dnf repolist | grep gitea-samuel - - # Show available package releases - dnf --showduplicates netoik-rp - - # Install or upgrade package - dnf --nogpgcheck install netoik-rp - dnf --nogpgcheck upgrade netoik-rp ``` + +- To show available versions: + ```shell + dnf --showduplicates netoik-rp + ``` + +- To install or upgrade: + ```shell + dnf --nogpgcheck install netoik-rp + dnf --nogpgcheck upgrade netoik-rp + ``` + # Security Notes