mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-13 17:11:47 +08:00
fix: github workflow only upload artifacts on push
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -23,7 +23,9 @@ jobs:
|
||||
run: build-scripts/build-dist.sh
|
||||
|
||||
- name: Upload artifact
|
||||
# Only upload the artifacts if we're actually pushed to master
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.platform }}
|
||||
path: dist/
|
||||
path: dist/
|
||||
|
||||
Reference in New Issue
Block a user