diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 292273b..682b884 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: get the gh-pages repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages @@ -19,7 +19,7 @@ jobs: tar -cvf documentation.tar ./docs - name: create a document artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: documentation path: documentation.tar @@ -29,17 +29,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout src - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: mkdir -p ./docs - name: Download the existing documents artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: documentation - run: tar -xf documentation.tar ./docs -C ./docs - name: Build - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 16.x cache: 'npm' @@ -53,7 +53,7 @@ jobs: run: tar -cvf newdocumentation.tar ./docs - name: create a new document artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: newdocumentation path: newdocumentation.tar @@ -63,13 +63,13 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout the gh-pages repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages - run: mkdir -p ./docs - name: Download the new documents artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: newdocumentation - run: tar -xf newdocumentation.tar ./docs -C ./docs