Merge pull request #223 from spencer-tb/tests-eip4788 #44
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
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
if: github.repository_owner == 'ethereum' # don't run on forks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.2 | |
with: | |
fetch-depth: 0 | |
ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}} | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[docs] | |
- name: Setup doc deploy | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email github-actions[bot]@users.noreply.github.com | |
- name: Build and deploy docs to gh-pages | |
run: | | |
mike deploy --update-aliases --push --remote origin main development |