Skip to content

Commit

Permalink
Perms 7
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDonkin-Gallagher committed Dec 4, 2023
1 parent 169081c commit 6480f66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github_action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ echo Building multi-page HTML from AsciiDoc
asciidoctor-multipage -r asciidoctor-diagram -o paged.html --verbose training/rest_training.adoc || true

echo Putting output into $INPUT_OUTPUT
ls -al ref
chmod -c -R +rX ref | while read line; do
ls -al ref training swagger
chmod -c -R +rX ref training swagger | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
tar --dereference -cvf $INPUT_OUTPUT --exclude .asciidoctor --exclude .git --exclude .gitignore ref
tar --dereference -cvf $INPUT_OUTPUT --exclude .asciidoctor --exclude .git --exclude .gitignore training swagger

echo Artifact: $INPUT_OUTPUT
ls -l $INPUT_OUTPUT
Expand Down

0 comments on commit 6480f66

Please sign in to comment.