Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmunyao committed Mar 31, 2024
1 parent a45852c commit 0844141
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [ "master" ]

workflow_dispatch:
# workflow_dispatch:

permissions:
contents: read
Expand All @@ -27,18 +27,18 @@ jobs:
- name: Run tests
run: sbt test

- name: Debug Output
run: |
echo "Access Token: ${{ secrets.SCALA_CI }}"
git config --list
git remote -v
- name: Push to GitHub with Access Token
run: |
git config --global user.email "[email protected]"
git config --global user.name "paulmunyao"
git remote set-url origin https://github.com/paulmunyao/Knight-s-Tour.git
git push origin master
# - name: Debug Output
# run: |
# echo "Access Token: ${{ secrets.SCALA_CI }}"
# git config --list
# git remote -v
#
# - name: Push to GitHub with Access Token
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "paulmunyao"
# git remote set-url origin https://github.com/paulmunyao/Knight-s-Tour.git
# git push origin master
env:
ACCESS_TOKEN: ${{ secrets.SCALA_CI }}

0 comments on commit 0844141

Please sign in to comment.