turning on prod deploy again, adding github release to selfhost job
This commit is contained in:
parent
4356a84853
commit
5887fb6e9b
|
@ -9,6 +9,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch_depth: 0
|
||||
|
||||
- name: Tag and release Docker images (Self Host)
|
||||
run: |
|
||||
|
@ -40,24 +42,26 @@ jobs:
|
|||
uses: azure/setup-helm@v1
|
||||
id: helm-install
|
||||
|
||||
# - run: helm package charts/budibase
|
||||
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# ref: gh-pages
|
||||
|
||||
# - 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: Perform Github Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
|
|
@ -3,7 +3,7 @@ name: Budibase Release
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- test
|
||||
- master
|
||||
|
||||
env:
|
||||
POSTHOG_TOKEN: ${{ secrets.POSTHOG_TOKEN }}
|
||||
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
# - name: Pull values.yaml from budibase-infra
|
||||
# run: |
|
||||
# curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ [c3a7a9d12]
|
||||
# curl -H "Authorization: token ${{ secrets.GH_PERSONAL_TOKEN }}" \ [c3a7a9d12]
|
||||
# -H 'Accept: application/vnd.github.v3.raw' \
|
||||
# -o values.preprod.yaml \
|
||||
# -L https://api.github.com/repos/budibase/budibase-infra/contents/kubernetes/values.preprod.yaml
|
||||
|
|
Loading…
Reference in New Issue