Skip to content

deploy step #310

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

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 0 additions & 112 deletions .circleci/config.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .docker/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ RUN apt-get install -y libpq-dev libzip-dev zlib1g-dev libicu-dev \
RUN curl -sS https://getcomposer.org/installer | php -- \
--install-dir=/usr/bin --filename=composer

FROM base as build
ADD . /app
WORKDIR /app
CMD "$(composer config bin-dir)/heroku-php-apache2 -i .docker/upload.ini public"

FROM base as dev
RUN apt-get install -y git
RUN pecl install xdebug && docker-php-ext-enable xdebug
File renamed without changes.
19 changes: 19 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI/CD
on:
push:
branches:
- '*'

jobs:
pr-deploy:
name: Pull request deploy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "staging-myprofile-pr-400" #Must be unique in Heroku
heroku_email: "[email protected]"
usedocker: true