diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index f98bfe0..3618b8e 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -11,8 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: + submodules: recursive persist-credentials: false - name: Pull docker image 🐳 diff --git a/.github/workflows/deploy_images.yml b/.github/workflows/deploy_images.yml index de091dd..89bed95 100644 --- a/.github/workflows/deploy_images.yml +++ b/.github/workflows/deploy_images.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/docker/Dockerfile b/docker/Dockerfile index 01eb47b..d7345bd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,6 +22,7 @@ RUN pip install --no-cache-dir termynal # fetch the repository and change the workdir RUN git clone https://github.com/cms-ml/documentation.git /documentation +RUN git config --global --add safe.directory /documentation WORKDIR /documentation # default command