Skip to content

Commit

Permalink
ci: Upgrade actions to fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
o-leolleo committed Mar 26, 2024
1 parent bbffdec commit df118a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
REF_SLUG: pr-${{ github.event.number }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
HUGO_VERSION: 0.121.1
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16

Expand All @@ -21,15 +21,15 @@ jobs:
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

- run: npm ci
- run: hugo

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: public
Expand All @@ -55,7 +55,7 @@ jobs:
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: pages deploy --branch main --project-name blog ./public
command: pages dev3 --branch main --project-name blog ./public

- name: Purge cloudflare cache
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
run_code_review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
HUGO_VERSION: 0.121.1
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16

Expand All @@ -26,15 +26,15 @@ jobs:
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

- run: npm ci
- run: hugo --config config.pr.toml

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: public
Expand Down

0 comments on commit df118a6

Please sign in to comment.