GithubAction for Composer with Flex and Env
2.5K
You can use it as a Github Action like this:
.github/workflows/install.yml
on:
push:
branches:
- master
name: Deploy application
jobs:
Configure:
name: Configure the server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Dump raw config file
run: echo "${{ secrets.CONFIG }}" > ./.env.prod.local
- name: Generate config file
uses: jderusse/ga-symfony-flex@master
with:
args: composer symfony:dump-env prod --ansi
A Docker-Image is built automatically and located here: https://hub.docker.com/r/jderusse/ga-symfony-flex
You can run it in any given directory like this:
docker run --rm -it -w=/app -v ${PWD}:/app jderusse/ga-symfony-flex:latest
Content type
Image
Digest
Size
74.3 MB
Last updated
about 6 years ago
docker pull jderusse/ga-symfony-flex