Skip to content

Commit cff7557

Browse files
committed
Fix permissions after docker image step
1 parent 6d3d514 commit cff7557

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/validate-and-process.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ jobs:
117117
viewer_path: ${{ inputs.viewer_path }}
118118
sparql_username: ${{ secrets.sparql_username }}
119119
sparql_password: ${{ secrets.sparql_password }}
120-
- name: Compress large _visited_properties.tsv and git pull
120+
- name: Fix permissions, compress large _visited_properties.tsv, git pull
121121
run: |
122+
sudo chown -R $UID:$(id -g) .
122123
sudo find "${{ inputs.annotated_path }}" -size +10M -name _visited_properties.tsv \
123124
-exec gzip \{\} \;
124125
git pull
@@ -192,7 +193,7 @@ jobs:
192193
fi
193194
cd "$OLD_WD"
194195
195-
if [ ! -z "404.html" ]; then
196+
if [ ! -f "404.html" ]; then
196197
cp "${{ inputs.viewer_path }}/404.html" .
197198
fi
198199
- name: Setup Pages

0 commit comments

Comments
 (0)