Skip to content

Commit

Permalink
Fix EXTRA_FILES
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Mar 19, 2021
1 parent 6307fe0 commit bf98307
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ fi
git clean -fd
echo ::endgroup::

echo ::group:: Checking out extra files
for f in $INPUT_EXTRA_FILES; do
git checkout $GITHUB_REF $f
done
echo ::endgroup::

echo ::group:: Committing HTML documentation
cd $repo_dir
echo Deleting all file in repository
Expand All @@ -113,6 +107,10 @@ echo Copying HTML documentation to repository
cp -vr $tmp_dir/. .
echo Adding HTML documentation to repository index
git add .
echo Checking out extra files
for f in $INPUT_EXTRA_FILES; do
git checkout $GITHUB_REF $f
done
echo Recording changes to repository
git commit --allow-empty -m "Add changes for $GITHUB_SHA"
echo ::endgroup::

0 comments on commit bf98307

Please sign in to comment.