Adds access token to update command since repository is private.
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user