Skip to content

Commit

Permalink
Merge pull request #22 from tcouch/main
Browse files Browse the repository at this point in the history
new project
  • Loading branch information
tcouch authored Jan 4, 2024
2 parents bcd932f + 734126b commit daed366
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/jekyllify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,28 @@ on:
jobs:
jekyllify:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Run jekyllify script
run: python ./_utils/jekyllify.py
- name: Set jekyllify branch name
id: vars
run: |
branch-name="jekyllify-patches/${{ github.head_ref }}"
echo "branch-name=$branch-name" >> $GITHUB_OUTPUT
- name: Create PR to main
uses: peter-evans/create-pull-request@v5
with:
commit-message: Jekyllifying project folder content
branch: jekyllified_${{ github.ref_name }}
delete-branch: true
commit-message: Jekyllify action fixes
title: Fixes by Jekyllify action
body: This is an auto-generated PR with fixes by _utils/jekyllify.py
branch: ${{ steps.vars.outputs.branch-name }}
base: main

2 changes: 2 additions & 0 deletions _projects/test_project/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
This is a project.

Attempt number 2

0 comments on commit daed366

Please sign in to comment.