Skip to content

Commit

Permalink
actions: check github.repository before deploying unstable API docs
Browse files Browse the repository at this point in the history
github.event_name wasn't enough
  • Loading branch information
joshtynjala committed Apr 26, 2024
1 parent ee3ec94 commit 2d12192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
path: bin/api/
if-no-files-found: error
- name: Deploy to unstable
if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.repository == 'feathersui/feathersui-openfl' && github.event_name != 'pull_request' }}
uses: garygrossgarten/github-action-scp@release
with:
local: bin/api
Expand Down

0 comments on commit 2d12192

Please sign in to comment.