Adds access token to update command since repository is private.

This commit is contained in:
2022-07-01 16:10:32 +02:00
parent f92091f3a7
commit fdb733be14
2 changed files with 30 additions and 3 deletions

View File

@@ -4,8 +4,13 @@ Convert Zip packages to repositories and if they exist update and tag them.
## Install
## Get needed access token
Get a token from [https://git.vdm.dev/user/settings/applications](https://git.vdm.dev/user/settings/applications)
```shell
$ sudo curl -L "https://git.vdm.dev/api/v1/repos/octoleo/octozipo/raw/src/octozipo" -o /usr/local/bin/octozipo
$ export SETUP_TOKEN="xxxxxxxxxxtokenxxxxxxxxxxxxxxxxxxxxxxxx"
$ sudo curl -L "https://git.vdm.dev/api/v1/repos/octoleo/octozipo/raw/src/octozipo?access_token=${SETUP_TOKEN}" -o /usr/local/bin/octozipo
$ sudo chmod +x /usr/local/bin/octozipo
```
- Global **environment** file can be set at: `/home/$USER/.config/octozipo/.env`