1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add github action for integration test

* Add sudo to some commands for the github action.
* Change paths to also work within a github action.
This commit is contained in:
Fadi Abbud 2022-04-28 15:06:45 +02:00 committed by GitHub
parent dad549c392
commit 13cd14738b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 20 deletions

View file

@ -40,6 +40,6 @@ echo '
}
'> clientCertificateConfigs.txt
sed -i "/^server {/r ${HOME}/${FOLDERNAME}/clientCertificateConfigs.txt" $NGINX_CONFIG_PATH
sudo sed -i "/^server {/r ${HOME}/${FOLDERNAME}/clientCertificateConfigs.txt" $NGINX_CONFIG_PATH
systemctl reload nginx
sudo systemctl reload nginx