Hints to put token in environment var
This commit is contained in:
parent
e39d0d0dc4
commit
c0fc6182cc
|
@ -9,8 +9,9 @@ Go to
|
|||
and generate a new token. Copy the 32 bytes string that will
|
||||
appear on the top of the page and save it somewhere safe.
|
||||
|
||||
echo -en <token> > gitea-token
|
||||
echo "gitea-token=<token>" >> ~/.bashrc
|
||||
|
||||
## Create a new repository.
|
||||
|
||||
gitea.sh newrepo reponame "Repo's description" false "CC0-1.0" true "" "" "" $(cat gitea-token)
|
||||
gitea.sh newrepo reponame "Repo's description" false "CC0-1.0" true "" "" "" $gitea-token
|
||||
|
||||
|
|
Loading…
Reference in New Issue