Skip to content

Deploy latest image tags to testing.plone.org #5

Deploy latest image tags to testing.plone.org

Deploy latest image tags to testing.plone.org #5

name: Deploy latest image tags to testing.plone.org
on:
workflow_dispatch:
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
concurrency: deploy_testing
runs-on: ubuntu-latest
environment:
name: testing.plone.org
url: https://testing.plone.org
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy 'latest' image tags to testing.plone.org
uses: kitconcept/docker-stack-deploy@v1.2.0
with:
registry: "ghcr.io"
username: ${{ github.actor }}
password: ${{ secrets.DEPLOY_GHCR_READ_TOKEN }}
remote_host: ${{ vars.DEPLOY_HOST }}
remote_port: ${{ vars.DEPLOY_PORT }}
remote_user: ${{ vars.DEPLOY_USER }}
remote_private_key: ${{ secrets.DEPLOY_SSH }}
stack_file: "devops/stacks/testing.plone.org.yml"
stack_name: "testing-plone-org"
env_file: ${{ secrets.ENV_FILE }}
deploy_timeout: 480