Add Wagtail EditorJS (#217) #89
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: CI | |
on: | |
push: {branches: ["*", "*/*"]} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: '2.x' | |
- run: gem install awesome_bot | |
- run: awesome_bot README.md --request-delay 0.1 --allow-redirect --allow-dupe --allow-ssl | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
architecture: 'x64' | |
- run: mkdir -p dist/api/v1/ && python .github/api.py | |
- name: deploy | |
if: github.ref == 'refs/heads/master' | |
uses: peaceiris/[email protected] | |
env: | |
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./dist |