.github/workflows/main.yaml #15253
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
on: | |
schedule: | |
- cron: '*/20 * * * *' | |
# Allow running manually | |
workflow_dispatch: | |
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: | |
zuliprc: ${{ secrets.ZULIPRC }} | |
# Using the GitHub Token that is provided automatically by GitHub Actions | |
# (no setup needed). | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
delete_history: true | |
archive_branch: master |