Create an artifact of the farmOS codebase built by Drush Make.

This commit is contained in:
Michael Stenta 2020-04-16 21:39:38 -04:00
parent 065f5bd3ad
commit 382892dfce
1 changed files with 7 additions and 0 deletions

View File

@ -15,3 +15,10 @@ jobs:
run: echo ::set-env name=FARMOS_BRANCH::${GITHUB_REF:11}
- name: Build farmOS Docker image
run: docker build -t farmos-dev --build-arg FARMOS_REPO=https://github.com/${GITHUB_REPOSITORY} --build-arg FARMOS_BRANCH=${FARMOS_BRANCH} docker/dev
- name: Run farmOS Docker container
run: docker run --rm -v /tmp/farmOS:/var/www/html farmos-dev true
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: farmOS-${{ env.FARMOS_BRANCH }}
path: /tmp/farmOS