Loading jobs/artisan_migrate/README.md +4 −2 Original line number Diff line number Diff line Loading @@ -21,13 +21,15 @@ This job will allow you to migrate the database using a migration file that you ## Job details * Job name: `artisan_migrate` * Default stage: `build` * Default stage: `deploy` * Docker image: [`edbizarro/gitlab-ci-pipeline-php:7.3`](https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php){:target="_blank"} * When: `always` ### Variables !!! info If you have setup Gitlab's CI/CD variables, they will be used instead of the ones defined in `.env`, just make sure to name them exactly the same. | Name | Default | Description | | ---- | ------- | --------------- | | `PROJECT_ROOT` | `.` | Path to the directory containing environment variables | Loading jobs/artisan_migrate/artisan_migrate.yml +2 −2 Original line number Diff line number Diff line # Job from R2Devops hub --> r2devops.io stages: - build - deploy artisan_migrate: stage: build stage: deploy image: name: edbizarro/gitlab-ci-pipeline-php:7.3 entrypoint: [""] Loading jobs/artisan_migrate/job.yml +1 −1 Original line number Diff line number Diff line name: artisan_migrate description: A ready-to-use job for migrating your database default_stage: build default_stage: deploy icon: 🗃️ maintainer: moha-s license: MIT Loading jobs/artisan_migrate/versions/0.1.1.md 0 → 100644 +1 −0 Original line number Diff line number Diff line * Update job's stage No newline at end of file Loading
jobs/artisan_migrate/README.md +4 −2 Original line number Diff line number Diff line Loading @@ -21,13 +21,15 @@ This job will allow you to migrate the database using a migration file that you ## Job details * Job name: `artisan_migrate` * Default stage: `build` * Default stage: `deploy` * Docker image: [`edbizarro/gitlab-ci-pipeline-php:7.3`](https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php){:target="_blank"} * When: `always` ### Variables !!! info If you have setup Gitlab's CI/CD variables, they will be used instead of the ones defined in `.env`, just make sure to name them exactly the same. | Name | Default | Description | | ---- | ------- | --------------- | | `PROJECT_ROOT` | `.` | Path to the directory containing environment variables | Loading
jobs/artisan_migrate/artisan_migrate.yml +2 −2 Original line number Diff line number Diff line # Job from R2Devops hub --> r2devops.io stages: - build - deploy artisan_migrate: stage: build stage: deploy image: name: edbizarro/gitlab-ci-pipeline-php:7.3 entrypoint: [""] Loading
jobs/artisan_migrate/job.yml +1 −1 Original line number Diff line number Diff line name: artisan_migrate description: A ready-to-use job for migrating your database default_stage: build default_stage: deploy icon: 🗃️ maintainer: moha-s license: MIT Loading
jobs/artisan_migrate/versions/0.1.1.md 0 → 100644 +1 −0 Original line number Diff line number Diff line * Update job's stage No newline at end of file