mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-18 06:01:28 +00:00
(hopefully) fix actions breaking on PRs
This commit is contained in:
parent
193953dc91
commit
0794a51b56
1 changed files with 3 additions and 2 deletions
5
.github/workflows/webpack-test.yml
vendored
5
.github/workflows/webpack-test.yml
vendored
|
|
@ -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/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue