Skip to content

Commit

Permalink
pin submodules to sandbox branches
Browse files Browse the repository at this point in the history
  • Loading branch information
spelkey-ucd committed Dec 1, 2021
1 parent f04ace8 commit 2aa3f18
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[submodule "ucdlib-theme-wp"]
path = ucdlib-theme-wp
url = https://github.com/UCDavisLibrary/ucdlib-theme-wp
branch = main
branch = sandbox
[submodule "ucdlib-wp-plugins"]
path = ucdlib-wp-plugins
url = https://github.com/UCDavisLibrary/ucdlib-wp-plugins
branch = main
branch = sandbox
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ COPY ucdlib-theme-wp/views views
WORKDIR $PLUGIN_ROOT
COPY ucdlib-wp-plugins/ucd-cas ucd-cas

# set build tags
ARG WEBSITE_TAG
ENV WEBSITE_TAG ${WEBSITE_TAG}
ARG APP_VERSION
ENV APP_VERSION ${APP_VERSION}
ARG BUILD_NUM
ENV BUILD_NUM ${BUILD_NUM}
ARG BUILD_TIME
ENV BUILD_TIME ${BUILD_TIME}

# Back to site root so wordpress can do the rest of its thing
WORKDIR "/var/www/html"

Expand Down
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Website config
# Main Wordpress Website Docker Config

This repo contains the Dockerfile and code (as git submodules) for running the main UC Davis Library website.

## Deployment
See the [main-wp-website-deployment](https://github.com/UCDavisLibrary/main-wp-website-deployment) repository.
2 changes: 1 addition & 1 deletion ucdlib-wp-plugins

0 comments on commit 2aa3f18

Please sign in to comment.