parent
cd4ff0fc9a
commit
eef8fecc25
1 changed files with 4 additions and 1 deletions
|
@ -1,18 +1,21 @@
|
||||||
|
# on push
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
steps:
|
steps:
|
||||||
|
# Checkout main branch
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
# Checkout public directory to paged branch
|
||||||
- name: public branch
|
- name: public branch
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "Jordan Herzstein"
|
git config --global user.name "Jordan Herzstein"
|
||||||
git config --global user.email "git@jordanherzstein.com"
|
git config --global user.email "git@jordanherzstein.com"
|
||||||
git checkout --orphan pages
|
git checkout pages
|
||||||
git rm -rf .
|
git rm -rf .
|
||||||
git checkout main -- public
|
git checkout main -- public
|
||||||
mv public/* .
|
mv public/* .
|
||||||
|
|
Loading…
Reference in a new issue