revert to list of usernames #1
This file contains hidden or 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 site | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'master' | |
| - 'oldsite' | |
| schedule: | |
| - cron: '0 4 * * *' | |
| jobs: | |
| build: | |
| name: Build HTML | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: install Python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.8 | |
| - name: install bibtool | |
| run: | | |
| sudo apt-get update --fix-missing | |
| sudo apt-get install bibtool | |
| - name: install Python dependencies | |
| run: python -m pip install --upgrade pip -r requirements.txt | |
| - id: get-members | |
| uses: garnertb/get-team-members@v1 | |
| with: | |
| org: leanprover-community | |
| team_slug: mathlib-reviewers | |
| token: ${{ secrets.REVIEWERS_TEAM }} | |
| - run: | | |
| echo '${{ steps.get-members.outputs.members }}' > reviewers | |
| cat reviewers | |
| - name: build and deploy | |
| run: | |
| ./deploy.sh | |
| env: | |
| git_hash: ${{ github.sha }} | |
| DEPLOY_GITHUB_TOKEN: ${{ secrets.MASTER_DEPLOY }} | |
| DEPLOY_GITHUB_USER: leanprover-community-bot | |
| github_repo: ${{ github.repository }} | |
| github_ref: ${{ github.ref }} |