Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 734 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 734 Bytes

gitlabscripts

Create a directory and copy the content of the repos directory to it Make both scripts executable

In the updaterepo.sh script change this lines

gitlaburl="gitlab.xxxx.com"
githubowner="yourgithubuser"
gitlabowner="yourgitlabuser"
repodir="/root/repos"

to meet your requirements

In the wichtoupdate.sh change this lines

 updaterepodir="/var/www/html/satis/html/myrepostoupdate"
 satisdir="/var/www/html/satis"
 scriptsdir="/root/repos";

to meet your requirements

Then you can define a webhook in your github repo to automate the release process

image

And select only the Releases option