Skip to content

Commit

Permalink
fix: [GHA] change in hostname, bump pymisp, fix vhost
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Apr 20, 2021
1 parent df9fa87 commit 19ce41f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -247,3 +249,4 @@ jobs:
if: ${{ always() }}
run: |
tail -n +1 `pwd`/app/tmp/logs/*
tail -n +1 /var/log/apache2/*.log
2 changes: 1 addition & 1 deletion PyMISP
2 changes: 1 addition & 1 deletion build/github-action-ci-apache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VirtualHost %HOST%>
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName %HOST%
DocumentRoot %GITHUB_WORKSPACE%/app/webroot
Expand Down

0 comments on commit 19ce41f

Please sign in to comment.