(hopefully) fix actions breaking on PRs

This commit is contained in:
Send_Nukez 2021-12-01 02:55:59 +01:00
parent 193953dc91
commit 0794a51b56

View file

@ -24,12 +24,13 @@ jobs:
run: | run: |
npm install npm install
npm run build npm run build
echo "Dev-${{ env.LATEST_SHA }}" > dist/VERSION echo "Beta-${{ env.LATEST_SHA }}" > dist/VERSION
env: env:
DRIBBBLISH_VERSION: Beta DRIBBBLISH_VERSION: Beta
COMMIT_HASH: ${{ env.LATEST_SHA }} COMMIT_HASH: ${{ env.LATEST_SHA }}
- name: Push to beta-release branch - name: Push to beta-release branch
if: github.event_name == 'push'
uses: s0/git-publish-subdir-action@develop uses: s0/git-publish-subdir-action@develop
env: env:
REPO: self REPO: self
@ -40,5 +41,5 @@ jobs:
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: DribbblishDynamic_vDev-${{ env.LATEST_SHA }} name: DribbblishDynamic_vBeta-${{ env.LATEST_SHA }}
path: dist/** path: dist/**