Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

- name: Beta Files
run : |
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
rm -rf docs/index.html docs/404.html docs/CNAME .github
mkdir .github .github/workflows
mv beta/beta-compile.yml beta/beta-pr.yml .github/workflows/
Expand All @@ -44,8 +46,6 @@ jobs:
- name: Push Beta
run: |
BRANCH=${{ github.head_ref }}
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git remote set-url --add --push origin https://github.com/chiefmikey/gitlang-beta.git
git reset $(git commit-tree HEAD^{tree} -m 'Beta Branch')
git push -fu origin HEAD:refs/heads/${BRANCH}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/prune-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ jobs:
run: |
echo test-ref: $(git status)
BRANCH=${{ github.head_ref }}
BRANCHES=$(git branch -a)
BRANCHER=$(git branch -r)
git fetch
BRANCHES=$(git branch --list)
echo test merged: ${MERGED_BRANCHES}
echo test branch: ${BRANCH}
echo test branches: ${BRANCHES}
echo test brancher: ${BRANCHER}
for branch in $(echo ${BRANCHES}); do
if [ -z "${MERGED_BRANCHES##*${branch}*}" ] || [ -z "${BRANCH##*${branch}*}" ]; then
echo "Delete ${branch}"
Expand Down