Remove unnecessary env file additions
Because the env file is passed in directly, the build scripts will deal with exporting it
This commit is contained in:
parent
63b2ca3389
commit
781354b797
2 changed files with 1 additions and 2 deletions
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
run: env >> .env
|
run: env >> .env
|
||||||
|
|
||||||
- name: Build production container
|
- name: Build production container
|
||||||
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest --env-file .env .
|
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest .
|
||||||
|
|
||||||
- name: Log into GitHub Docker Registry
|
- name: Log into GitHub Docker Registry
|
||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin
|
||||||
|
|
|
@ -4,7 +4,6 @@ services:
|
||||||
website:
|
website:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
env_file: .env
|
|
||||||
volumes:
|
volumes:
|
||||||
- "./public:/usr/share/nginx/html:ro"
|
- "./public:/usr/share/nginx/html:ro"
|
||||||
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
|
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
|
||||||
|
|
Loading…
Reference in a new issue