1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 01:46:16 +00:00

forgejo helper does not copy .git

it will create a new git repo from scratch
This commit is contained in:
Earl Warren 2023-04-03 09:07:46 +02:00
parent 22ff5f4704
commit 9b17c14d9d
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -62,7 +62,7 @@ function push() {
local token="$6"
local dir="$DIR/$project"
rsync -a $directory/ $dir/
rsync -a --exclude .git $directory/ $dir/
local workflows=$dir/.forgejo/workflows/*.yml
if test "$(echo $workflows)" != "$workflows"; then