mirror of https://github.com/MISP/MISP
fix: [GHA] change in hostname, bump pymisp, fix vhost
parent
df9fa87503
commit
19ce41fc02
|
@ -59,7 +59,7 @@ jobs:
|
||||||
- name: Initialize variables
|
- name: Initialize variables
|
||||||
run: |
|
run: |
|
||||||
echo "USER=`id -u -n`" >> $GITHUB_ENV
|
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
|
# Runs a set of commands using the runners shell
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
|
@ -203,6 +203,8 @@ jobs:
|
||||||
|
|
||||||
- name: Test if apache is working
|
- name: Test if apache is working
|
||||||
run: |
|
run: |
|
||||||
|
sudo systemctl status apache2 --no-pager -l
|
||||||
|
sudo apache2ctl -S
|
||||||
curl http://${HOST}
|
curl http://${HOST}
|
||||||
sudo chmod -R 777 PyMISP
|
sudo chmod -R 777 PyMISP
|
||||||
pushd PyMISP
|
pushd PyMISP
|
||||||
|
@ -247,3 +249,4 @@ jobs:
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
tail -n +1 `pwd`/app/tmp/logs/*
|
tail -n +1 `pwd`/app/tmp/logs/*
|
||||||
|
tail -n +1 /var/log/apache2/*.log
|
||||||
|
|
2
PyMISP
2
PyMISP
|
@ -1 +1 @@
|
||||||
Subproject commit 67457bec5380139af3aa8dc93c021457659c5697
|
Subproject commit b471633acb12cdfd357ae1f2de91b415fd9b64f6
|
|
@ -1,4 +1,4 @@
|
||||||
<VirtualHost %HOST%>
|
<VirtualHost *:80>
|
||||||
ServerAdmin me@me.local
|
ServerAdmin me@me.local
|
||||||
ServerName %HOST%
|
ServerName %HOST%
|
||||||
DocumentRoot %GITHUB_WORKSPACE%/app/webroot
|
DocumentRoot %GITHUB_WORKSPACE%/app/webroot
|
||||||
|
|
Loading…
Reference in New Issue