Files
pixi-deploy/README.md
T
2026-06-18 20:18:25 +02:00

878 B

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 checkout the caller repository (so it can git add/git commit and git push).
  • If you rely on GITHUB_TOKEN permissions for pushing, ensure permissions.contents in the caller workflow allows write.
  • The action copies the autodeploy directory from this repo into the caller workspace before running the script.