1234567891011121314151617181920212223242526272829303132333435 |
- # action.yml
- name: 'Zulip Archive'
- description: 'Publish Zulip archive in GitHub pages'
- inputs:
- zulip_organization_url:
- description: 'URL of Zulip organization'
- required: true
- zulip_bot_email:
- description: 'Email of the Zulip bot'
- required: true
- zulip_bot_key:
- description: 'API key of the Zulip bot'
- required: true
- github_personal_access_token:
- description: 'GitHub personal access token'
- required: true
- delete_history:
- description: 'If enabled, will delete the archive history while keeping the most recent version'
- required: false
- default: false
- archive_branch:
- description: 'Branch where to commit archive files (should coincide with GH Pages branch)'
- # legacy
- required: false
- default: 'master'
- runs:
- using: 'docker'
- image: 'Dockerfile'
- args:
- - ${{ inputs.zulip_organization_url }}
- - ${{ inputs.zulip_bot_email }}
- - ${{ inputs.zulip_bot_key }}
- - ${{ inputs.github_personal_access_token }}
- - ${{ inputs.delete_history }}
- - ${{ inputs.archive_branch }}
|