Skip to content

Commit

Permalink
Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Oct 3, 2024
1 parent d41442e commit db84b81
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/buid_jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: false

jobs:
push_docs:
build:
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -43,8 +43,16 @@ jobs:
cd petitbonhomme
bundle exec jekyll build --baseurl "https://simon-rey.github.io/PetitBonhomme"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
with:
branch: main
folder: ./_site
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit db84b81

Please sign in to comment.