Skip to content

deploy

deploy #1353

Workflow file for this run

name: deploy
on:
schedule:
- cron: '0 7 * * *' # daily at 07:00 AM
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
deploy_docs:
runs-on: ubuntu-24.04
if: ${{ github.repository == 'espressomd/espresso' }}
environment: deploy_documentation
steps:
- name: Install dependencies
run: sudo apt-get install --no-install-recommends -y curl rsync ssh unzip make grep sed jq python3 pandoc
- name: Setup SSH agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_SSH_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@main
- name: Deploy documentation
shell: sh
env:
GITLAB_READ_API: ${{ secrets.GITLAB_READ_API }}
run: maintainer/CI/make_gh_pages.sh