Skip to content

Instantly share code, notes, and snippets.

@salipro4ever
Created January 31, 2020 16:49
Show Gist options
  • Save salipro4ever/24876a27a1b48f90385b67d0bb8873ef to your computer and use it in GitHub Desktop.
Save salipro4ever/24876a27a1b48f90385b67d0bb8873ef to your computer and use it in GitHub Desktop.
Gitlab CI

Linux:

yes | php artisan key:generate

if ! grep -qc "^APP_KEY=.*$" .env; then php artisan key:generate; fi

@salipro4ever
Copy link
Author

Sai php version khi chạy job, do lấy sai path

[[runners]]
  name = "W3_WIN@DEV"
  url = "http://dev.suga.vn:9999/"
  token = "RUfCTqzomV7xH8vn6X_8"
  executor = "shell"
  shell = "cmd"
  pre_build_script = "set Path=C:\\Program Files\\WinRAR;C:\\phpapache;%Path%"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment