Skip to content

Commit

Permalink
Replace unused circleci ci by github action (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
duboiss authored Jun 16, 2023
1 parent 34a3dee commit 203793f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Continuous Integration"

on:
pull_request:
branches:
- master

jobs:
docker:
name: "Docker"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: "Prepare building context"
run: |
# the time that #90 be merged
sed -i '/PHP_IDE_CONFIG/d' .env.dist
sed -i '/${PROJECT_LOCATION}/d' docker-compose.yml
- name: "Build containers"
run: |
export $(cat .env.dist | sed 's/#.*//g' | xargs)
docker-compose up -d
env:
COMPOSE_PROJECT_NAME: magento

- name: "Display images & containers"
run: |
docker images
docker ps

0 comments on commit 203793f

Please sign in to comment.