Skip to content
Merged
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
5 changes: 1 addition & 4 deletions .github/workflows/stage-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ jobs:
npx tsx src/cli/putSecrets.js dev $DB_URL
- name: Deploy
run: npm run deploy-dev-stage
- name: Stage Info
run: |
export STAGE_INFO=$(npx serverless info --stage dev --region us-east-2)
echo 'STAGE_INFO=$STAGE_INFO' >> $GITHUB_ENV
- name: Create Pull Request
run: |
PR_BRANCH=$(git branch --show-current)
DEFAULT_BRANCH=$(git remote show origin | awk '/HEAD branch/ {print $NF}')
export STAGE_INFO=$(npx serverless info --stage dev --region us-east-2)
gh pr create --title "Automated Pull Request from $PR_BRANCH" --body "Dev Stage Relased:$STAGE_INFO" --base $DEFAULT_BRANCH --head $PR_BRANCH --repo $GITHUB_REPOSITORY