Merge branch '4.x' into 4.x #5
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: Push Recent Commits to Drupal.org | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 4.x | |
jobs: | |
push_to_drupal: | |
runs-on: ubuntu-latest | |
name: "Push to Drupal.org" | |
steps: | |
- uses: actions/checkout@v4 | |
name: "Check out all history for all tags + branches" | |
with: | |
fetch-depth: 0 | |
- name: "Configure git to push to drupal.org" | |
run: | | |
git config user.name "Lacey Sanderson" | |
git config user.email "[email protected]" | |
git config credential.helper 'store --file ~/.drupal-org-credentials' | |
git remote add drupal https://git.drupal.org/project/tripal.git | |
- name: "Authenticate and Push" | |
run: | | |
git fetch drupal | |
echo "https://laceysanderson:${{ secrets.DRUPALORG_TOKEN }}@git.drupalcode.org" > ~/.drupal-org-credentials | |
git push drupal | |