Fix error in module that breaks all image operations #62
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: Pantheon Advanced Page Cache | |
on: | |
push: | |
jobs: | |
phpcompatibility: | |
runs-on: ubuntu-latest | |
name: PHP Compatibility | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: PHPCompatibility | |
uses: pantheon-systems/phpcompatibility-action@v1 | |
with: | |
test-versions: 7.4- | |
mirror: | |
runs-on: ubuntu-latest | |
name: Checkout & push to remote | |
needs: [phpcompatibility] | |
if: ${{ github.repository == 'pantheon-systems/pantheon_advanced_page_cache' }} | |
env: | |
BRANCH: ${{ github.ref_name }} | |
WORKSPACE: ${{ github.workspace }} | |
DRUPAL_ORG_REMOTE: ${{ secrets.DRUPAL_ORG_REMOTE }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
if_key_exists: ignore | |
- name: Pushes to drupal.org repository | |
run: | | |
cd $WORKSPACE | |
git remote add drupalorg $DRUPAL_ORG_REMOTE | |
git push drupalorg $BRANCH |