No description
Find a file
2024-02-18 16:14:22 -07:00
action.yml [FEATURE] Fix ENV PATH mismatch 2024-02-18 16:14:22 -07:00
README.md [FEATURE] Adjust URLS 2024-02-15 04:48:52 +00:00

Elysium Actions

About

The actions are used by Elysium to run CI/CD tasks and this repo will be archived once Gitea supports private actions (See issue Here)

Actions

The actions available are:

Workflow Template

The example below demonstrates how to use the oasis-deploy action.

name: Deploy Edge
run-name: ${{ gitea.actor }} Deploy Edge
on:
 push:
   branches: [ master ]

env:
  GITEA_TOKEN: ${{ secrets.ELYSIUM_ORG_READ_TOKEN }}
  KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_USW_EDGE }}
  GARDEN_DEPLOY_ACTION: nile

jobs:
  deploy-edge:
    steps:
    - name: Oasis Setup
      uses: https://gitea.dunemask.dev/elysium/elysium-actions@oasis-deploy
      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 }}