less errors please
Some checks failed
Build and push / Pulling repo on server (push) Successful in 2s
/ update_database (push) Failing after 6m58s

This commit is contained in:
Chris 2023-12-23 20:08:39 +01:00
parent 9757e58998
commit d299edd10d
2 changed files with 1 additions and 17 deletions

View File

@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: run crawler - name: run crawler
run: | run: |
sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /etc/php/7.4/cli/php.ini
cd crawler cd crawler
php crawler.php php crawler.php
git config --global user.email "gitea@haschek.at" git config --global user.email "gitea@haschek.at"

View File

@ -1,17 +0,0 @@
on: [push]
jobs:
update_database:
runs-on: ubuntu-latest
steps:
- name: All tools we need
run: apt update && apt install -y php
- name: run test
run: |
find /etc/php/7.4
grep "error_reporting" /etc/php/7.4/cli/php.ini
sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /etc/php/7.4/cli/php.ini
grep "error_reporting" /etc/php/7.4/cli/php.ini