Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NO-ISSUE] Fix non-existent docs directory #480

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Publish Docker Image

on:
pull_request:
paths:
- Dockerfile
- docker-compose.yml
- scripts/.zshrc
push:
branches: ["development"]
paths:
- Dockerfile
- docker-compose.yml
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test Docker Image

on:
pull_request:
branches: ["main", "development"]
paths:
- Dockerfile
- docker-compose.yml
- scripts/.zshrc

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the hello-docker Docker image
run: make docker-build
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG GID=1000
ARG UID=1000

ARG ghc_version=9.4.5
ARG cabal_version=3.10.1.0
ARG cabal_version=3.10.2.0

# generate a working directory
USER "root"
Expand Down Expand Up @@ -41,7 +41,6 @@ RUN chmod ugo+x /home/$USER/.cabal

USER ${USER}
RUN git config --global --add safe.directory "*"
RUN ls -lh /home/$USER/.cabal
RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh


Expand Down Expand Up @@ -84,6 +83,7 @@ RUN make souffle

# copy and build the assets
COPY --chown=${USER} assets ./assets
COPY --chown=${USER} docs ./docs
RUN make build-assets

USER root
Expand Down
Loading