Skip to content

Commit

Permalink
Merge pull request #13 from Echtzeitsysteme/feature/update-github-act…
Browse files Browse the repository at this point in the history
…ions

Updates GitHub Actions: checkout, download artifact, upload artifact
  • Loading branch information
maxkratz authored Apr 8, 2024
2 parents 0019bca + bef8e92 commit 384d0d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
wget -q $HUGO_RELEASE_SRC/download/v$VERSION/$HUGO_DEB_FILE
sudo dpkg -i $HUGO_DEB_FILE
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build production site
run: |
hugo
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: public-prod
path: public/
Expand All @@ -41,7 +41,7 @@ jobs:
rm -rf public/*
hugo -D
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: public-draft
path: public/
Expand All @@ -51,9 +51,9 @@ jobs:
runs-on: [ubuntu-20.04]
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download Hugo build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: public-prod
path: public
Expand All @@ -71,11 +71,11 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Download Hugo build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: public-prod
- name: Deploy to GH pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .

0 comments on commit 384d0d4

Please sign in to comment.