diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5d56ab9..bdae469 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,19 +16,16 @@ env: jobs: build: runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Build Writerside docs using Docker + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Build Docs uses: JetBrains/writerside-github-action@v4 with: instance: ${{ env.INSTANCE }} artifact: ${{ env.ARTIFACT }} docker-version: ${{ env.DOCKER_VERSION }} - - - name: Upload artifact + - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: docs @@ -42,24 +39,19 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest - steps: - - name: Download artifact + - name: Download Artifact uses: actions/download-artifact@v3 with: name: docs - - - name: Unzip artifact + - name: Unzip Artifact run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir - - name: Setup Pages - uses: actions/configure-pages@v2 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/configure-pages@v4 + - name: Upload Artifact + uses: actions/upload-pages-artifact@v3 with: path: dir - - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4