use selfhost job definition from master

This commit is contained in:
Martin McKeaveney 2022-01-13 15:17:58 +01:00
parent 40111491c4
commit d8cb48a1a7
1 changed files with 7 additions and 42 deletions

View File

@ -9,10 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
fetch_depth: 0
- name: Tag and release Docker images (Self Host)
run: |
@ -43,34 +41,6 @@ jobs:
uses: azure/setup-helm@v1
id: helm-install
<<<<<<< HEAD
- name: Build CLI executables
run: |
pushd packages/cli
yarn
yarn build
popd
# - name: Build and release helm chart
# run: |
# git config user.name "Budibase Helm Bot"
# git config user.email "<>"
# mv budibase-${{ env.RELEASE_VERSION }}.tgz docs
# helm repo index docs
# git checkout gh-pages
# git add -A
# git commit -m "Helm Release: ${{ env.RELEASE_VERSION }}"
# git push
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public
# full_commit_message: "Helm Release: ${{ env.RELEASE_VERSION }}"
=======
- name: Build and release helm chart
run: |
git config user.name "Budibase Helm Bot"
@ -85,7 +55,6 @@ jobs:
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
>>>>>>> 157877a60444104d17efedf937bc7d48fc3006c5
- name: Perform Github Release
uses: softprops/action-gh-release@v1
@ -93,7 +62,3 @@ jobs:
name: v${{ env.RELEASE_VERSION }}
tag_name: v${{ env.RELEASE_VERSION }}
generate_release_notes: true
files: |
packages/cli/build/cli-win.exe
packages/cli/build/cli-linux
packages/cli/build/cli-macos