Skip to content

Commit

Permalink
Merge pull request #6 from miriamgoldman/theme-cleanup
Browse files Browse the repository at this point in the history
remove themes
  • Loading branch information
miriamgoldman authored Jul 29, 2024
2 parents 9422fde + 4b705bb commit 90d83e3
Show file tree
Hide file tree
Showing 974 changed files with 14 additions and 207,603 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/standard-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,25 @@ jobs:
- name: Push branch to Pantheon
run: |
curr_branch=$( git branch --show-current )
# The dev environment is always based on the master branch
branch=$( [ "$env" == "dev" ] && echo "master" || echo "$env" )
dest_branch=$( [ "$env" == "dev" ] && echo "master" || echo "$env" )
if [[ ${{ github.event_name }} == 'pull_request' ]]; then
git checkout ${{ github.head_ref }}
fi
# Configure git to use the SSH key and avoid host key checking
git config --local core.sshCommand 'ssh -i ~/.ssh/pantheon -o StrictHostKeyChecking=no'
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git remote add pantheon $(terminus connection:info ${{ vars.SITE_NAME }}.$env --field=git_url)
git fetch --all
echo "Pushing to $env"
git push pantheon ${{ github.ref_name }}:$branch --force
git fetch pantheon
git checkout -b $dest_branch
git pull pantheon $dest_branch --rebase
git status
git push pantheon $dest_branch
spin_down:
name: Spin down
Expand Down
2 changes: 0 additions & 2 deletions wp-content/plugins/gutenberg-block-library/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions wp-content/plugins/gutenberg-block-library/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 90d83e3

Please sign in to comment.