Skip to content

Commit

Permalink
github: add github pages label to workflow build yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarry committed Jan 18, 2025
1 parent 0da9e8e commit 6ee38da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:

- name: Build AlexCalc static HTML via docker
run: |
docker build -t alexcalc_html \
docker build \
--build-arg ALEXCALC_BUILD_TYPE_LABEL=github-pages \
-t alexcalc_html \
-f Dockerfile \
--target=export_output \
--output=./public \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM nginx:latest AS base

ARG ALEXCALC_BUILD_TYPE_LABEL
ENV ALEXCALC_BUILD_TYPE_LABEL=${ALEXCALC_BUILD_TYPE_LABEL}

# Install OS dependencies
RUN apt-get update && apt-get install -y \
cmake \
Expand Down

0 comments on commit 6ee38da

Please sign in to comment.