From b609bdb90841a1b331e19917a5a10efa5ffe09dc Mon Sep 17 00:00:00 2001 From: Andrey Zherikov Date: Thu, 15 Feb 2024 22:52:35 -0500 Subject: [PATCH] changes --- .github/workflows/deploy.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ea50ff6..e7172a4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build Writerside docs using Docker uses: JetBrains/writerside-github-action@v4 @@ -38,22 +38,25 @@ jobs: artifact: ${{ env.ARTIFACT }} docker-version: ${{ env.DOCKER_VERSION }} + - name: ls + run: find + - name: Upload documentation - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: docs + retention-days: 7 path: | artifacts/${{ env.ARTIFACT }} artifacts/report.json - retention-days: 7 # Add the step below to upload Algolia indexes - name: Upload algolia-indexes - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: algolia-indexes - path: artifacts/${{ env.ALGOLIA_ARTIFACT }} retention-days: 7 + path: artifacts/${{ env.ALGOLIA_ARTIFACT }} # Add the job below and artifacts/report.json on Upload documentation step above # if you want to fail the build when documentation contains errors @@ -63,10 +66,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: docs - path: . + path: artifacts - name: ls run: find @@ -85,25 +88,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: docs - path: . - name: ls run: find - name: Unzip artifact - run: unzip -O UTF-8 -qq artifacts/${{ env.ARTIFACT }} -d dir + run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: dir - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file