Skip to content

Commit

Permalink
chore: Production test 7
Browse files Browse the repository at this point in the history
chore: Production test 7
  • Loading branch information
DestroyCom committed Sep 3, 2023
2 parents 67045b1 + de653f7 commit c1cdb29
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/install_sera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
run: |
echo "${{ secrets.PROD_ENV_FILE }}" >> .env
- name: DEBUG LS REPO
run: |
ls -la
- name: Pull new images
run: |
docker-compose -f ./prod.docker-compose.yml -p "prod-sera" pull
Expand All @@ -40,6 +36,24 @@ jobs:
run: |
sleep 2
- name: Writes the .env file
run: |
docker exec sera-server sh -c 'echo "${{ secrets.DEVELOP_ROOT_ENV_FILE }}" > .env'
- name: DEBUG LS REPO
run: |
ls -la
docker exec sera-server ls -la
- name: Execute laravel configs
run: |
sleep 2
docker exec sera-server php artisan cache:clear
docker exec sera-server php artisan config:clear
docker exec sera-server php artisan route:clear
docker exec sera-server php artisan key:generate
docker exec sera-server php artisan config:cache
docker exec sera-server php artisan route:cache
docker exec sera-server php artisan view:cache
docker exec sera-server php artisan optimize
docker exec sera-server php artisan storage:link
docker exec sera-server chown -R www-data:www-data /root

0 comments on commit c1cdb29

Please sign in to comment.