fix: [GHA] change in hostname, bump pymisp, fix vhost

pull/7358/head
Raphaël Vinot 2021-04-20 16:18:38 +02:00
parent df9fa87503
commit 19ce41fc02
3 changed files with 6 additions and 3 deletions

View File

@ -59,7 +59,7 @@ jobs:
- name: Initialize variables
run: |
echo "USER=`id -u -n`" >> $GITHUB_ENV
echo "HOST=`hostname`" >> $GITHUB_ENV
echo "HOST=localhost" >> $GITHUB_ENV
# Runs a set of commands using the runners shell
- name: Install deps
@ -203,6 +203,8 @@ jobs:
- name: Test if apache is working
run: |
sudo systemctl status apache2 --no-pager -l
sudo apache2ctl -S
curl http://${HOST}
sudo chmod -R 777 PyMISP
pushd PyMISP
@ -247,3 +249,4 @@ jobs:
if: ${{ always() }}
run: |
tail -n +1 `pwd`/app/tmp/logs/*
tail -n +1 /var/log/apache2/*.log

2
PyMISP

@ -1 +1 @@
Subproject commit 67457bec5380139af3aa8dc93c021457659c5697
Subproject commit b471633acb12cdfd357ae1f2de91b415fd9b64f6

View File

@ -1,4 +1,4 @@
<VirtualHost %HOST%>
<VirtualHost *:80>
ServerAdmin me@me.local
ServerName %HOST%
DocumentRoot %GITHUB_WORKSPACE%/app/webroot