Skip to content

Commit

Permalink
Fix test run
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Dec 20, 2023
1 parent 42eac73 commit 5a26d9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@ jobs:
node-version: 20
cache: npm

- name: Build action runner
run: docker build -t "wgd-action-runner:test" --build-arg "GIT_SHA=${GITHUB_SHA}" apps/wgd-action-runner

- name: Build hugo docs
run: |
docker run \
-v "${GITHUB_WORKSPACE}/hugo:/site" \
-v "${GITHUB_WORKSPACE}/website:/website" \
-v "/var/www/test.wikigdrive.com:/dist/hugo" \
--env CONFIG_TOML="/site/config/_default/config.toml" --env BASE_URL="https://test.wikigdrive.com" \
wgd-action-runner:develop /steps/step_render_hugo
wgd-action-runner:test /steps/step_render_hugo
- name: Copy index for vite
run: mkdir -p dist/hugo && cp -rf /var/www/test.wikigdrive.com/* dist/hugo
Expand Down

0 comments on commit 5a26d9d

Please sign in to comment.