init platform/launch
This commit is contained in:
parent
47a5bba3f8
commit
79a5d4939f
1 changed files with 22 additions and 0 deletions
22
starter/.forgejo/workflows/deploy.yml
Normal file
22
starter/.forgejo/workflows/deploy.yml
Normal 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) }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue