Skip to content

Commit

Permalink
Use actions/upload-artifact@v4 between jobs in jekyll.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Mar 21, 2024
1 parent a4a7798 commit 05a3c92
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
- name: Setup pages
uses: actions/configure-pages@v3
- name: Build
- name: Build pages
uses: actions/jekyll-build-pages@v1
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- name: Upload artifacts
with: actions/upload-artifact@v4
name: site
path: _site


deploy:
environment: zellerlab.org
Expand All @@ -30,11 +33,11 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
path: dist
name: site
- name: Deploy
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
SOURCE: dist
SOURCE: _site

0 comments on commit 05a3c92

Please sign in to comment.