23 lines
No EOL
659 B
YAML
23 lines
No EOL
659 B
YAML
name: Deploy Edge Proxy
|
|
run-name: ${{ gitea.actor }} Deploy Edge Proxy
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.ELYSIUM_ORG_READ_TOKEN }}
|
|
KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_USW_EDGE }}
|
|
GARDEN_DEPLOY_ACTION: minecluster-proxy
|
|
|
|
|
|
jobs:
|
|
deploy-edge:
|
|
steps:
|
|
- name: Oasis Setup
|
|
uses: https://gitea.dunemask.dev/elysium/oasis-action@master
|
|
with:
|
|
gitea-token: ${{ env.GITEA_TOKEN }}
|
|
kubeconfig: ${{ env.KUBECONFIG_BASE64 }}
|
|
- name: Deploy to Edge env
|
|
run: garden deploy $GARDEN_DEPLOY_ACTION --force --force-build --env usw-edge
|
|
working-directory: ${{ env.OASIS_WORKSPACE }} |