Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow & update actions #605

Merged
merged 2 commits into from
Sep 24, 2024
Merged
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
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
echo "HUGO_URL=${HUGO_URL}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.7
with:
fetch-depth: 1

Expand All @@ -33,12 +33,13 @@ jobs:
run: cd ${GITHUB_WORKSPACE}/scripts && bash build.sh

- name: Save artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: static-content
path: |
scripts/deploy.sh
blog/public/
include-hidden-files: true

deploy:
needs: [build]
Expand All @@ -57,7 +58,7 @@ jobs:
sudo apt-get install -y sshpass

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.8
with:
name: static-content

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Test links
uses: 3mdeb/lychee-log-action@main
Expand All @@ -24,17 +24,17 @@ jobs:
name: Check orphan pages
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
submodules: true

- name: Checkout SEO Spy
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
repository: 3mdeb/seo-spy
path: seo-spy

- uses: actions/setup-python@v3
- uses: actions/setup-python@v5.2.0
with:
python-version: '3.9'

Expand All @@ -44,7 +44,7 @@ jobs:
pip install -r seo-spy/requirements.txt

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3.0.0
with:
extended: true

Expand All @@ -64,12 +64,12 @@ jobs:
name: Check canonical links
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
submodules: true

- name: Checkout SEO Spy
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
repository: 3mdeb/seo-spy
path: seo-spy
Expand All @@ -84,7 +84,7 @@ jobs:
pip install -r seo-spy/requirements.txt

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3.0.0
with:
extended: true

Expand Down
Loading