Skip to content

Commit

Permalink
update checkout action version
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Dec 7, 2023
1 parent 8b0619e commit 854afbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
compile-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand Down
8 changes: 4 additions & 4 deletions site/docs/ci/example-github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ permissions:
Make sure your code is checked out before using the preevy up action, using the [Checkout](https://github.com/marketplace/actions/checkout) action:

```yaml
- uses: actions/checkout@v3
- uses: actions/checkout@v4
```

Specify the required `profile-url` input arg to load the Preevy profile you [configured earlier](/ci/overview#how-to-run-preevy-from-the-ci).
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
with:
role-to-assume: arn:aws:iam::12345678:role/my-role
aws-region: eu-west-1
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: livecycle/preevy-up-action@latest
id: preevy
with:
Expand All @@ -94,7 +94,7 @@ Use this action to stop and delete a preview environment using the Preevy CLI wh
Just like the preevy-up action, we need to authenticate and checkout.
```yaml
- uses: actions/checkout@v3
- uses: actions/checkout@v4
```
With the `profile-url` arg, load the Preevy profile you [configured earlier](/ci/overview#how-to-run-preevy-from-the-ci), with the AWS S3 permissions we granted earlier.
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
with:
role-to-assume: arn:aws:iam::12345678:role/my-role
aws-region: eu-west-1
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: livecycle/preevy-down-action@latest
id: preevy
with:
Expand Down

0 comments on commit 854afbd

Please sign in to comment.