Skip to content

Commit

Permalink
Update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalibor Hon committed Feb 22, 2024
1 parent 151f420 commit 642920a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/delete-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: mkdir dist

- name: Save changes to preview repository
uses: cpina/github-action-push-to-another-repository@v1.4.2
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
Expand All @@ -30,7 +30,7 @@ jobs:
target-directory: "${{ github.event.repository.name }}/${{ github.event.pull_request.number }}"

- name: Comment on PR
uses: hasura/comment-progress@v2.2.0
uses: hasura/comment-progress@v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
id: deploy-preview
message: "Starting deployment of preview ⏳..."
- name: Checkout and setup node
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
Expand All @@ -43,7 +43,7 @@ jobs:
run: npm run build

- name: Upload site artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: site
path: ./dist/
Expand All @@ -57,13 +57,13 @@ jobs:

steps:
- name: Download the artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: site
path: ./dist/

- name: Upload files to GitHub Pages
uses: cpina/github-action-push-to-another-repository@v1.4.2
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
Expand All @@ -77,7 +77,7 @@ jobs:
run: echo "https://dallyh.github.io/deploy-previews/${{ github.event.repository.name }}/${{ github.event.pull_request.number }}/"

- name: Update comment
uses: hasura/comment-progress@v2.2.0
uses: hasura/comment-progress@v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down

0 comments on commit 642920a

Please sign in to comment.