Skip to content

Commit

Permalink
Merge branch 'main' into justafish/638-replace-twig-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Aug 13, 2024
2 parents d9e3d86 + d0bcec0 commit 24ee1c6
Show file tree
Hide file tree
Showing 3 changed files with 908 additions and 866 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/DrainpipeDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Push Drainpipe Dev Package
on:
push:
branches:
- main
- '**'
tags:
- 'v*'

Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/DrainpipeDevClean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Clean Drainpipe Dev Package

on:
on: delete

concurrency:
group: drainpipe-dev
cancel-in-progress: false

permissions:
contents: read

jobs:
Drainpipe-Dev-Clean:
name: Push branch to drainpipe-dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Add drainpipe-dev deploy key in order to run git clone
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }}
log-public-key: false

# Commits made by the https://github.com/apps/lullabot-drainpipe application.
# @see https://github.com/orgs/community/discussions/24664
- name: Create git checkout of drainpipe-dev
working-directory: drainpipe-dev
run: |
git init
git branch -m ${{ github.ref_name }}
git remote add origin [email protected]:Lullabot/drainpipe-dev.git
git fetch origin
git reset --mixed origin/${{ github.ref_name }}
git config user.name "Lullabot-Drainpipe[bot]"
git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com"
- name: Delete ref from drainpipe-dev
working-directory: drainpipe-dev
run: |
git push origin --delete ${{ github.ref_name }}
Loading

0 comments on commit 24ee1c6

Please sign in to comment.