Skip to content

feat(py): update Dockerfile and compose #112

feat(py): update Dockerfile and compose

feat(py): update Dockerfile and compose #112

Workflow file for this run

name: Synchronize the example with the template
on:
push:
branches: [ main ]
jobs:
example-cxx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup CookieCutter
run: pipx install cookiecutter
- name: Generate cxx example
run: cookiecutter --no-input --config-file .github/workflows/template_inputs_cxx.yml ./template/cxx
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.GH_EXAMPLE_DEPLOY_SECRET }}
external_repository: x-pt/example-cxx
publish_branch: main
publish_dir: ./my-awesome-cxx-project
# Set exclude_assets to empty for including the .github directory to deployment assets.
exclude_assets: ''
enable_jekyll: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: "ci: :art: Cxx Sample"
force_orphan: true
example-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup CookieCutter
run: pipx install cookiecutter
- name: Generate go example
run: cookiecutter --no-input --config-file .github/workflows/template_inputs_go.yml ./template/go
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.GH_EXAMPLE_DEPLOY_SECRET }}
external_repository: x-pt/example-go
publish_branch: main
publish_dir: ./my-awesome-go-project
# Set exclude_assets to empty for including the .github directory to deployment assets.
exclude_assets: ''
enable_jekyll: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: "ci: :art: Go Sample"
force_orphan: true
example-py:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup CookieCutter
run: pipx install cookiecutter
- name: Generate py example
run: cookiecutter --no-input --config-file .github/workflows/template_inputs_py.yml ./template/py
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.GH_EXAMPLE_DEPLOY_SECRET }}
external_repository: x-pt/example-py
publish_branch: main
publish_dir: ./my-awesome-python-project
# Set exclude_assets to empty for including the .github directory to deployment assets.
exclude_assets: ''
enable_jekyll: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: "ci: :art: Py Sample"
force_orphan: true