Usage
Call this composite action from any repository to run the autodeploy/setup.sh script included in this repo.
Example workflow snippet (in the caller repo):
name: call-autodeploy
on:
workflow_dispatch:
jobs:
run-autodeploy:
runs-on: ubuntu-latest
steps:
- name: Run autodeploy action from repo
uses: your-username/snek/.github/actions/autodeploy@main
with:
branch: main
install_prereqs: 'true'
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.
Description
Languages
Shell
100%