From a361d593e52eb9fd9211f6c646e0b21c76949498 Mon Sep 17 00:00:00 2001 From: Patrick Burns Date: Sun, 7 Apr 2024 19:46:21 -0500 Subject: [PATCH] move it to github actions run step --- .github/workflows/cypress-tests.yml | 3 +++ script.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress-tests.yml b/.github/workflows/cypress-tests.yml index 00c59dbf..adf0b3ff 100644 --- a/.github/workflows/cypress-tests.yml +++ b/.github/workflows/cypress-tests.yml @@ -13,6 +13,9 @@ jobs: - name: Build Docker services run: docker-compose up -d + - name: Populate dxcc_entities table + run: curl "http://localhost/index.php/update/dxcc_entities" + - name: Install Cypress run: npm install cypress diff --git a/script.sh b/script.sh index 4282569b..c1447f8f 100755 --- a/script.sh +++ b/script.sh @@ -79,7 +79,5 @@ rm -rf /install echo "Replacement complete." -php /var/www/html/index.php update dxcc_entities - # Start Apache in the foreground exec apache2-foreground \ No newline at end of file