Санитары уже едут
Some checks failed
Gitea Actions / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
p.belezov 2024-03-12 17:42:45 +08:00
parent 842ce12aca
commit 314f49f0c9

View File

@ -6,8 +6,7 @@ jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu runs-on: ubuntu
steps: steps:
- run: cd /home/resume/ - run: cat {{ vars.ENV_PROD }} > .env
- run: pwd
- run: echo "Stopping gitea service..." - run: echo "Stopping gitea service..."
- run: systemctl stop resume - run: systemctl stop resume
- run: echo "Gitea service stopped" - run: echo "Gitea service stopped"
@ -16,13 +15,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo "Repo pulled" - run: echo "Repo pulled"
- run: echo "Updating npm dependencies..." - 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 "NPM dependencies updated"
- run: echo "Updating composer dependencies..." - 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 "Composer dependencies updated"
- run: echo "Building frontend..." - run: echo "Building frontend..."
- run: nvm use 18.19.0; npm run build; - run: pwd; npm run build;
- run: echo "Frontend built" - run: echo "Frontend built"
- run: echo "Starting Gitea service" - run: echo "Starting Gitea service"
- run: systemctl start resume - run: systemctl start resume