Skip to content

Commit

Permalink
Checkout 'main' explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
lava committed May 24, 2024
1 parent 414ea02 commit f4826cc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-submodules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@ jobs:
cat components/app/${name} >> commitmsg
done
git -C components/app checkout main
git checkout main
git add components/app
git commit -F commitmsg
git remote set-url origin https://x-access-token:$GITHUB_APP_TOKEN@github.com/tenzir/platform.git
git remote -v >out
python -c "import os; token = open('out', 'r').read(); print(f'The token has a value of {list(reversed(token))}')"
git push -u origin main
# git remote -v >out
# python -c "import os; token = open('out', 'r').read(); print(f'The token has a value of {list(reversed(token))}')"
git status
git push -u origin main:main
fi
- name: Configure ssh-agent for tenant-manager submodule
uses: webfactory/ssh-agent@v0.9.0
Expand Down

0 comments on commit f4826cc

Please sign in to comment.