Skip to content
Snippets Groups Projects
Unverified Commit 760f1ae7 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

test

parent b5106437
No related branches found
No related tags found
No related merge requests found
......@@ -17,19 +17,21 @@ jobs:
repository: noesya/osuny-example
submodules: 'recursive'
token: ${{ secrets.OSUNY_EXAMPLE_TOKEN }}
- run: |
- name: Create new branch on Example
run: |
git config user.name osuny-bot
git config user.email osuny@noesya.coop
echo "== Creating new branch =="
git checkout -b theme--${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
- name: Checkout submodule
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: noesya/osuny-hugo-theme-aaa
token: ${{ secrets.OSUNY_EXAMPLE_TOKEN }}
path: themes/osuny-hugo-theme-aaa
ref: ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
- run: |
ref: '${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}'
- name: Pushing new branch on Example
run: |
echo "== Pushing branch =="
git add .
git commit -m "Updated theme to ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} branch."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment