diff --git a/.github/workflows/gh-pages-deploy.yaml b/.github/workflows/gh-pages-deploy.yaml index 1b39e05..b78e406 100644 --- a/.github/workflows/gh-pages-deploy.yaml +++ b/.github/workflows/gh-pages-deploy.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: 3.12 - name: Setup Python diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index b97b9c1..aad56ad 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -17,7 +17,7 @@ jobs: with: fetch-depth: 0 - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.12 @@ -37,7 +37,7 @@ jobs: run: echo ${{ github.event.number }} > ./docs/pr-number.txt - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: success() with: name: site diff --git a/.github/workflows/pr-deploy.yaml b/.github/workflows/pr-deploy.yaml index 80d2a6d..ff14072 100644 --- a/.github/workflows/pr-deploy.yaml +++ b/.github/workflows/pr-deploy.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Download Artifact - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v4 with: workflow: ${{ github.event.workflow_run.workflow_id }} name: site @@ -36,9 +36,9 @@ jobs: echo "
Redirecting... Click Here
" > ./site/index.html - name: Setup NPM - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 8 + node-version: 20 - name: Install Surge run: npm install -g surge @@ -49,7 +49,7 @@ jobs: surge ./site/ https://chunky-dev-docs-pr-${{ steps.pr.outputs.id }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} - name: Update Comment - Success - uses: actions-cool/maintain-one-comment@v1.2.1 + uses: actions-cool/maintain-one-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} body: | @@ -65,7 +65,7 @@ jobs: - name: Update Comment - Fail if: ${{ failure() }} - uses: actions-cool/maintain-one-comment@v1.2.1 + uses: actions-cool/maintain-one-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} body: | diff --git a/.github/workflows/pr-teardown.yaml b/.github/workflows/pr-teardown.yaml index 1568cb9..783d346 100644 --- a/.github/workflows/pr-teardown.yaml +++ b/.github/workflows/pr-teardown.yaml @@ -15,9 +15,9 @@ jobs: steps: - name: Setup NPM - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 8 + node-version: 20 - name: Install Surge run: npm install -g surge @@ -27,7 +27,7 @@ jobs: surge teardown https://chunky-dev-docs-pr-${{ github.event.pull_request.number }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true - name: Update Comment - uses: actions-cool/maintain-one-comment@v1.2.1 + uses: actions-cool/maintain-one-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} body: |