Skip to content

.github/workflows/main.yaml #875

.github/workflows/main.yaml

.github/workflows/main.yaml #875

Workflow file for this run

on:
push:
branches:
- main
schedule:
# Run every hour
- cron: '0 * * * *'
jobs:
publish_archive_job:
runs-on: ubuntu-latest
name: A job to publish zulip-archive in GitHub pages
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run archive
id: archive
uses: zulip/zulip-archive@master
with:
zulip_organization_url: ${{ secrets.zulip_organization_url }}
zulip_bot_email: ${{ secrets.zulip_bot_email }}
zulip_bot_key: ${{ secrets.zulip_bot_key }}
github_token: ${{ secrets.GITHUB_TOKEN }}
# To keep the git history from ballooning, will overwrite the Git
# history in the repository, but keep all the content.
delete_history: true
archive_branch: main