Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy link and tocs for lang guides #2308

Merged
merged 8 commits into from
May 2, 2018
Prev Previous commit
Next Next commit
add toc and deploy to php guide
  • Loading branch information
michelle-luna authored May 2, 2018
commit b9e46692ed311618e9e37d37b2947b143393dc78
8 changes: 8 additions & 0 deletions jekyll/_cci2/language-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ order: 6

If you're new to CircleCI 2.0, we recommend reading our [Project Walkthrough]({{ site.baseurl }}/2.0/project-walkthrough/) for a detailed explanation of our configuration using Python and Flask as an example.

* TOC
{:toc}

## Quickstart: Demo PHP Laravel reference project

We maintain a reference PHP Laravel project to show how to build PHP on CircleCI 2.0:
Expand Down Expand Up @@ -76,13 +79,18 @@ jobs: # a collection of steps
- run: php artisan migrate --env=testing --database=sqlite_testing --force
- run: ./vendor/bin/codecept build
- run: ./vendor/bin/codecept run
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
```
{% endraw %}

---

Success! You just set up CircleCI 2.0 for a PHP app. Check out our {% comment %} TODO: Job {% endcomment %} [project’s build page](https://circleci.com/gh/CircleCI-Public/circleci-demo-php-laravel) to see how this looks when building on CircleCI.

## Deploy

See the [Deploy]({{ site.baseurl }}/2.0/deployment-integrations/) document for example deploy target configurations.

## See Also

Refer to the [Examples]({{ site.baseurl }}/2.0/examples/) page for more configuration examples of public PHP projects.