main
Usage
Call this composite action from your repository to run the autodeploy/setup.sh script included in this repo.
Example workflow snippet (adjust the DEPLOY_PATH):
name: Autodeploy Python
env:
DEPLOY_PATH: "/your_facility/your_folder/config/python"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
autodeploy:
runs-on: alpine-autodeploy
steps:
- name: Pixi Deploy
uses: actions/pixi-deploy@main
with:
destination: "${{ env.DEPLOY_PATH }}"
Notes:
- The action will
checkoutthe caller repository (so it cangit add/git commitandgit push). - If you rely on
GITHUB_TOKENpermissions for pushing, ensurepermissions.contentsin the caller workflow allowswrite. - The action copies the
autodeploydirectory from this repo into the caller workspace before running the script.
Languages
Shell
100%