Skip to content

Commit

Permalink
Update update_repo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BirjuVachhani authored Jan 5, 2024
1 parent f36448a commit 9d0599b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/update_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
# - name: Checkout user repo
# uses: actions/checkout@v2
# path: user_repo
- name: Install Dart
uses: dart-lang/setup-dart@v1
- name: Dart SDK Version
Expand All @@ -31,13 +28,12 @@ jobs:
run: |
cd codelessly_starter_brick/__brick__
git init
git checkout -b main
git remote add origin https://github.repository_owner:${{ secrets.CODELESSLY_APP_ACCESS_TOKEN }}@github.com/${{ github.repository }}.git
git config user.name Codelessly
git config user.email codelessly@gmail.com
git fetch
git checkout -b main
git add .
git commit -m "Update to latest template"
git push origin ${{ github.ref_name }}
git push --force origin ${{ github.ref_name }}
- name: Finish
run: echo "Finished"

0 comments on commit 9d0599b

Please sign in to comment.