diff --git a/.github/workflows/update-activity-workflow.yml b/.github/workflows/update-activity-workflow.yml index f959c13..c48c691 100644 --- a/.github/workflows/update-activity-workflow.yml +++ b/.github/workflows/update-activity-workflow.yml @@ -5,16 +5,34 @@ on: - cron: '*/30 * * * *' workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - name: Update this repo's README with recent activity +# jobs: +# build: +# runs-on: ubuntu-latest +# name: Update this repo's README with recent activity +# steps: +# - uses: actions/checkout@v2 +# - uses: jamesgeorge007/github-activity-readme@master +# env: +# GITHUB_TOKEN: ${{ secrets.SuperSecret }} +# with: +# COMMIT_MSG: 'Added recent activity on GitHub' +# MAX_LINES: 10 + +jobs: + publish: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: jamesgeorge007/github-activity-readme@master - env: - GITHUB_TOKEN: ${{ secrets.SuperSecret }} + - uses: actions/checkout@master with: - COMMIT_MSG: 'Added recent activity on GitHub' - MAX_LINES: 10 \ No newline at end of file + persist-credentials: false + fetch-depth: 0 + - name: Create README.md + uses: actions-js/profile-readme@master + with: + username: psavarmattas + github_token: ${{ secrets.SuperSecret }} + - name: Commit & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.SuperSecret }} \ No newline at end of file