Skip to content

deploy

deploy #1330

Workflow file for this run

name: deploy
on:
schedule:
- cron: '0 7 * * *'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
deploy_docs:
runs-on: ubuntu-22.04
if: github.repository == 'espressomd/espresso'
environment: deploy_documentation
steps:
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_SSH_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@main
- name: Deploy documentation
uses: ./.github/actions/deploy_docs