This commit is contained in:
parent
842ce12aca
commit
314f49f0c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue