Skip to content

Commit

Permalink
fix: add commands to add and commit file
Browse files Browse the repository at this point in the history
  • Loading branch information
botanical committed Dec 18, 2024
1 parent 1ee2549 commit d45aa7e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,10 @@ jobs:
# Update the env vars to staging based on env vars
#sed -i "s|${{ vars.ENV_FROM }}|${{ vars.ENV_TO }}|g" .env
ls
git remote -v
git branch
git status
# git add .
# git commit -m "Add dataset(s)"
# git push origin $NEW_BRANCH
git add .
git commit -m "Add dataset(s)"
git push origin $NEW_BRANCH
echo "**DEBUG**-Committed and pushed file"
PR_URL=$(GITHUB_TOKEN=${{ secrets.VEDA_CONFIG_REPO_ACCESS_TOKEN }} gh pr create -R ${{ env.VEDA_CONFIG_REPO }} -H $NEW_BRANCH -B develop --title 'Add dataset [Automated workflow]' --body-file <(echo "Add datasets (Automatically created by Github action)"))
Expand Down

0 comments on commit d45aa7e

Please sign in to comment.