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: 4 additions & 0 deletions .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ jobs:

- name: Push to Beta
run: |
BRANCH=${{ github.head_ref }}
echo test: ${BRANCH}
echo test: $(git status)
git config user.name "Mikl Wolfe"
git config user.email "wolfemikl@gmail.com"
git remote set-url --add --push origin https://github.com/chiefmikey/gitlang-beta.git

git add .
git commit -am 'Build beta branch'
git reset $(git commit-tree HEAD^{tree} -m 'Update beta branch')
Expand Down
9 changes: 2 additions & 7 deletions beta/beta-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@ jobs:
BRANCH=${GITHUB_REF##*/}
git config user.name "Mikl Wolfe"
git config user.email "wolfemikl@gmail.com"
git checkout main
git reset --soft ${BRANCH}
git add .
git commit -am 'Beta branch'
git checkout -b beta-branch
git push -fu origin beta-branch
gh pr create --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch
git pull --rebase=false --autostash --no-edit origin main
gh pr create --title ${BRANCH} --body 'Beta branch' --base main --head ${BRANCH}