deploy #1352
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |