Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
update
  • Loading branch information
nspalo authored Sep 11, 2023
1 parent 24336a0 commit 47dc3a0
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,33 @@ on:
branches: [ "master", "development" ]

jobs:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Docker login
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_KEY: ${{ secrets.DOCKER_KEY }}
run: |
docker login -u $DOCKER_USER -p $DOCKER_KEY
# Build Docker Images
- name: Build the Docker image
run: ./scripts/build.sh
run: |
chmod +x ./scripts/build.sh
./scripts/build.sh
- name: Start
run: ./scripts/up.sh -d
run: |
chmod +x ./scripts/up.sh
./scripts/up.sh -d
- name: Composer
run: ./scripts/composer.sh install
- name: Composer
run: |
chmod +x ./scripts/composer.sh
./scripts/composer.sh install

0 comments on commit 47dc3a0

Please sign in to comment.