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 8c29f40 commit 4e12e7f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
# - name: Checkout user repo
# uses: actions/checkout@v2
# path: user_repo
- 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 @@ -26,13 +26,13 @@ jobs:
rm -rf codelessly_starter_brick
git clone https://github.com/Codelessly/codelessly_starter_brick.git --single-branch
- name: Run script
run: dart codelessly_script_runner/bin/main.dart codelessly_starter_brick/__brick__ ${{ secrets.CODELESSLY_SECRET }}
run: dart codelessly_script_runner/bin/main.dart codelessly_starter_brick/__brick__ ${{ secrets.CODELESSLY_PROJECT_CONFIG }}
- name: Commit and push changes
run: |
cd codelessly_starter_brick/__brick__
git init
git checkout -b main
git remote add origin https://github.repository_owner:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
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 add .
Expand Down

0 comments on commit 4e12e7f

Please sign in to comment.