Skip to content

Retry rendering markdown when hitting rate limit / abuse limit #27

Retry rendering markdown when hitting rate limit / abuse limit

Retry rendering markdown when hitting rate limit / abuse limit #27

Workflow file for this run

name: Deploy
on:
push:
pull_request:
workflow_dispatch:
jobs:
Deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 7.1
- run: composer install
- run: mkdir ~/.ssh && echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa && chmod 400 ~/.ssh/id_rsa
- run: echo 'GITHUB_TOKEN="${{ secrets.PAT || secrets.GITHUB_TOKEN }}"' > .env && cat .env.dist >> .env
- run: git config --global user.name "GitHub Actions" && git config --global user.email "[email protected]"
- run: bin/build
- run: bin/build --deploy --no-component-update
if: ${{ github.ref == 'refs/heads/main' }}