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