Skip to content

Commit

Permalink
Add deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-zaiaev authored Jun 10, 2024
1 parent 1fea0c5 commit 38082a3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

jobs:
jekyll:
jekyll-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -29,3 +29,13 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
runs-on: ubuntu-latest
needs: jekyll-build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 38082a3

Please sign in to comment.