Implement Jekyll CI workflow with docker #2

Merged
btlogy merged 60 commits from 1.test-ci into main 2024-05-23 12:16:39 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit dae2ef07c3 - Show all commits

View File

@ -27,6 +27,13 @@ jobs:
- name: Fix file permissions - name: Fix file permissions
id: fix_permissions id: fix_permissions
run: | run: |
export uid=1000
export gid=1000
export user=ubuntu
export group=ubuntu
id ${user} > /dev/null 2>&1 && \
{ groupmod -g "${gid}" "${group}" && usermod -md /home/${user} -s /bin/bash -g "${group}" -u "${uid}" "${user}"; } || \
{ groupadd -g "${gid}" "${group}" && useradd -md /home/${user} -s /bin/bash -g "${group}" -u "${uid}" "${user}"; }
chown -R ubuntu:ubuntu . chown -R ubuntu:ubuntu .
- name: List files in the repository - name: List files in the repository
id: list id: list