Skip to content

Commit

Permalink
don't have direct permissions to touch github dir, using github_works…
Browse files Browse the repository at this point in the history
…pace env var instead
  • Loading branch information
siddheshraze committed Aug 23, 2024
1 parent 68c95e5 commit d7641e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ jobs:

- name: Build documentation
run: |
mkdir -p /github/workspace/artifacts/
docker run --rm -v /home/runner/work/ForestGEO/ForestGEO:/github/workspace registry.jetbrains.team/p/writerside/builder/writerside-builder:$DOCKER_VERSION /bin/bash -c "
mkdir -p $GITHUB_WORKSPACE/artifacts/
docker run --rm -v $GITHUB_WORKSPACE:/github/workspace registry.jetbrains.team/p/writerside/builder/writerside-builder:$DOCKER_VERSION /bin/bash -c "
export DISPLAY=:99
Xvfb :99 &
git config --global --add safe.directory /github/workspace
Expand All @@ -197,8 +197,8 @@ jobs:
with:
name: docs
path: |
artifacts/webHelpFAD2-all.zip
artifacts/report.json # Ensure report.json is included
$GITHUB_WORKSPACE/artifacts/webHelpFAD2-all.zip
$GITHUB_WORKSPACE/artifacts/report.json # Ensure report.json is included
retention-days: 7
if-no-files-found: warn

Expand Down

0 comments on commit d7641e2

Please sign in to comment.