.github/workflows/main.yaml #7
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: '0 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@v4 | |
- 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: false | |
archive_branch: main |