Skip to content

Commit

Permalink
Updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyNadd committed Oct 24, 2024
1 parent 2ddb992 commit ec2e613
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,27 @@ jobs:
runs-on: self-hosted

steps:
- name: Remove old repo
run: rm -rf T-Caps
- name: Clone repo
run: git clone https://github.com/HE-Arc/T-Caps.git
- name: Go to repo folder
run: cd T-Caps
- name: Composer install
run: composer install --optimize-autoloader --no-dev
- name: Npm install
run: npm install
- name: Copy .env file
run: cp ../../../../../.env .env
- name: Generate key
run: php artisan key:generate
- name: Migrate database
run: php artisan migrate
- name: Cache php artisan config
run: php artisan config:cache
- name: Cache php artisan route
run: php artisan route:cache
- name: Cache php artisan view
run: php artisan view:cache
- name: Npm run build
run: npm run build

0 comments on commit ec2e613

Please sign in to comment.