From 314f49f0c9a5ad13fa9616bd8359c7cc034aa4ae Mon Sep 17 00:00:00 2001 From: "p.belezov" Date: Tue, 12 Mar 2024 17:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B0=D0=BD=D0=B8=D1=82=D0=B0=D1=80?= =?UTF-8?q?=D1=8B=20=D1=83=D0=B6=D0=B5=20=D0=B5=D0=B4=D1=83=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/gitea-actions.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/gitea-actions.yml b/.gitea/workflows/gitea-actions.yml index 54ff559..22abe49 100644 --- a/.gitea/workflows/gitea-actions.yml +++ b/.gitea/workflows/gitea-actions.yml @@ -6,8 +6,7 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu steps: - - run: cd /home/resume/ - - run: pwd + - run: cat {{ vars.ENV_PROD }} > .env - run: echo "Stopping gitea service..." - run: systemctl stop resume - run: echo "Gitea service stopped" @@ -16,13 +15,13 @@ jobs: uses: actions/checkout@v3 - run: echo "Repo pulled" - run: echo "Updating npm dependencies..." - - run: node -v; npm i; + - run: pwd; node -v; npm i --progress=false; - run: echo "NPM dependencies updated" - run: echo "Updating composer dependencies..." - - run: export COMPOSER_ALLOW_SUPERUSER=1; composer show; composer install; + - run: pwd; export COMPOSER_ALLOW_SUPERUSER=1; composer show; composer update; - run: echo "Composer dependencies updated" - run: echo "Building frontend..." - - run: nvm use 18.19.0; npm run build; + - run: pwd; npm run build; - run: echo "Frontend built" - run: echo "Starting Gitea service" - run: systemctl start resume