Skip to content

Commit

Permalink
Updated workflow depedencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrello committed May 23, 2024
1 parent 761f842 commit bc42896
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/delete-stale-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# https://github.com/actions/checkout#readme
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_BRANCH }}

Expand All @@ -43,7 +43,7 @@ jobs:
# https://github.com/JamesIves/github-pages-deploy-action#readme
- name: Deploy docs 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: ${{ env.TARGET_BRANCH }} # The branch the action should deploy to.
folder: branches
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout PR 🛎️
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

# https://github.com/actions/checkout#readme
- name: Checkout docs
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
# https://github.com/JamesIves/github-pages-deploy-action#readme
- name: Deploy docs 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: ${{ env.TARGET_BRANCH }} # The branch the action should deploy to.
folder: gh-pages

0 comments on commit bc42896

Please sign in to comment.