Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Mar 12, 2021
2 parents f3b01d5 + 611d401 commit cf7dfba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Prepare git and repo"
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git checkout grafana-release
git merge "${GITHUB_REF#refs/heads/}"
- uses: actions/setup-node@v1
with:
node-version: '12'
Expand Down Expand Up @@ -58,6 +66,11 @@ jobs:
asset_path: /tmp/dist.tar.gz
asset_name: dist-${{ steps.get_tag.outputs.TAG }}.tar.gz
asset_content_type: application/tar+gzip
- name: "Push to Release Branch"
run: |
git add -f dist/
git diff-index --quiet HEAD || git commit -m "Build dist for ${{ steps.get_tag.outputs.TAG }}"
git push
# - name: Upload Release Asset - Src
# id: upload-release-asset-src
# uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit cf7dfba

Please sign in to comment.