Skip to content

Commit

Permalink
Merge pull request #16 from DrR0X-glitch/beta
Browse files Browse the repository at this point in the history
Add github token and remove install from release beta workflow
  • Loading branch information
DrR0X-glitch authored Jan 11, 2024
2 parents 730d8af + 07a255f commit f1c0be3
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
description: "I have set this workflow to run from the beta branch"
required: true
type: boolean
confirm_sync:
description: "I will make sure to sync the beta branch with main after this workflow runs"
required: true
type: boolean
new_version:
description: "The new beta version number"
required: true
Expand All @@ -29,12 +25,6 @@ jobs:
with:
python-version: 3.x
cache: "pip"
- name: Install GitHub CLI
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt-get update
sudo apt-get install gh
- run: pip install -r requirements.txt
- name: Fetch full gh-pages and main branches and create user
run: |
Expand All @@ -56,5 +46,6 @@ jobs:
run: |
mike deploy -p -u ${{ inputs.new_version }} beta -t beta
- name: Create Pull Request from beta to main
run: |
gh pr create --base main --head beta --title "Merge beta into main" --body "Auto-Merge beta into main"
run: gh pr create --base main --head beta --title "Merge beta into main" --body "Auto-Merge beta into main"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f1c0be3

Please sign in to comment.