Skip to content

Commit

Permalink
Only change owner if nist_pages was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Sep 7, 2023
1 parent 73e89d1 commit a7d12b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ runs:
shell: bash
run: |
sudo chown -R runner:docker __nist-pages
if: ${{ success() || steps.build-html.conclusion == 'success' }}
if: >-
env.NTD2D_PUSH_PAGES
&& ( success() || steps.build-html.conclusion == 'success' )
- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit a7d12b7

Please sign in to comment.