Skip to content

Commit

Permalink
Update actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamal-Moha authored Oct 21, 2024
1 parent 85e7e9d commit 960fb7b
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:

- name: DEBUG
run: echo "::debug::Ref = ${{github.ref}}"
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0

- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner
with:
ref: ${{ github.head_ref }}

- name: setup python
uses: actions/setup-python@v5
Expand All @@ -38,20 +35,9 @@ jobs:
run: |
python wallet_accts.py
python acct_df.py
# - name:
# run: git add .
- name: Commit changes
run: |
git config --local user.email "Kamalmohapy@gmail.com"
git config --local user.name "Kamal"
git add -A
git commit -m "${arr[$rand]}"
- name: GitHub Push
uses: ad-m/github-push-action@v0.6.0
- name: Commit & Push
uses: stefanzweifel/git-auto-commit-action@v5
with:
directory: "."
github_token: ${{ secrets.GITHUB_TOKEN }}

commit_message: 'Synced data from API'

0 comments on commit 960fb7b

Please sign in to comment.