Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/deploy-site-with-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@ jobs:
steps:
- name: Check out repository
if: ${{ inputs.checkout_sparse == '' }}
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check out repository (sparse)
if: ${{ inputs.checkout_sparse != '' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
sparse-checkout: ${{ inputs.checkout_sparse }}
sparse-checkout-cone-mode: false

- name: Set up Node.js
if: ${{ inputs.node_version != '' }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node_version }}

Expand Down Expand Up @@ -117,13 +117,13 @@ jobs:
"$STAGE_DIR/"

- name: Upload deploy artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: site-build
path: ${{ runner.temp }}/site

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: ${{ runner.temp }}/site

Expand All @@ -140,20 +140,20 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5

deploy-server:
needs: prepare
runs-on: ubuntu-latest
steps:
- name: Download deploy artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: site-build
path: ${{ runner.temp }}/site

- name: Start SSH agent
uses: webfactory/ssh-agent@v0.9.0
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.deploy_ssh_key }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@ jobs:
steps:
- name: Check out repository
if: ${{ inputs.checkout_sparse == '' }}
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check out repository (sparse)
if: ${{ inputs.checkout_sparse != '' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
sparse-checkout: ${{ inputs.checkout_sparse }}
sparse-checkout-cone-mode: false

- name: Set up Node.js
if: ${{ inputs.node_version != '' }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node_version }}

Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
"$STAGE_DIR/"

- name: Upload deploy artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: site-build
path: ${{ runner.temp }}/site
Expand All @@ -169,13 +169,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download deploy artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: site-build
path: ${{ runner.temp }}/site

- name: Start SSH agent
uses: webfactory/ssh-agent@v0.9.0
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.deploy_ssh_key }}

Expand Down