Skip to content

Commit d205753

Browse files
authored
Merge pull request #130 from akirk/patch-1
Commit files that were built outside of the action
2 parents d2a8dc2 + 784b17b commit d205753

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ if [[ "$BUILD_DIR" = false ]]; then
113113
git config --global user.email "10upbot+github@10up.com"
114114
git config --global user.name "10upbot on GitHub"
115115

116+
# Ensure git archive will pick up any changed files in the directory try.
117+
test $(git ls-files --deleted) && git rm $(git ls-files --deleted)
118+
git add .
119+
git commit -m "Include build step changes"
120+
116121
# If there's no .gitattributes file, write a default one into place
117122
if [[ ! -e "$GITHUB_WORKSPACE/.gitattributes" ]]; then
118123
cat > "$GITHUB_WORKSPACE/.gitattributes" <<-EOL

0 commit comments

Comments
 (0)