init platform/launch

This commit is contained in:
root 2026-07-17 12:00:36 +00:00
parent 47a5bba3f8
commit 79a5d4939f

View file

@ -0,0 +1,22 @@
name: deploy
on:
push:
branches: [main]
workflow_dispatch: # lets the admin panel trigger a redeploy (Enable)
jobs:
deploy:
runs-on: docker-cli
container:
image: platform-ci-base:latest
volumes:
- /srv/sites:/srv/sites
- /srv/platform/caddy/sites:/srv/platform/caddy/sites
steps:
- uses: https://git.extract.team/platform/launch@main
with:
repo: ${{ github.repository }}
ref: ${{ github.ref_name }}
sha: ${{ github.sha }}
token: ${{ github.token }}
secrets_json: ${{ toJSON(secrets) }}
vars_json: ${{ toJSON(vars) }}