Skip to content

Commit

Permalink
Update jekyll-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bondarenkom authored Feb 15, 2024
1 parent 4720c72 commit 796337a
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,12 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v1.0.0
with:
# Artifact name
name: _book # optional
# Destination path
path: _book # optional
- name: Crete Dir
run: mkdir -p _site
name: _book
path: _book
- run: zip -r _book.zip _site/
- uses: ncipollo/release-action@v1
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
EMAIL: ${{ secrets.EMAIL }} # must be a verified email
GH_TOKEN: ${{ secrets.GH_PAT }} # https://github.com/settings/tokens
BUILD_DIR: _site/ # "_site/" by default
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 796337a

Please sign in to comment.