1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

turning on prod deploy again, adding github release to selfhost job

This commit is contained in:
Martin McKeaveney 2021-12-16 19:24:07 +01:00
parent 375364784b
commit e9d44c7b47
2 changed files with 12 additions and 8 deletions

View file

@ -9,6 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch_depth: 0
- name: Tag and release Docker images (Self Host)
run: |
@ -39,12 +41,6 @@ jobs:
- name: Setup Helm
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: |
@ -52,12 +48,20 @@ jobs:
# 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:

View file

@ -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