This repository has been archived by the owner on Feb 2, 2025. It is now read-only.
Generate circle.png #4791
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate circle.png | |
on: | |
schedule: | |
- cron: '0 */3 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
github_repos_pipeline: | |
name: GitHub Repos Pipeline | |
runs-on: ubuntu-latest | |
steps: | |
- name: main | |
uses: hooopo/repo-track-pipeline@main | |
with: | |
access-token: ${{ secrets.ACCESS_TOKEN || secrets.GITHUB_TOKEN }} | |
database-url: ${{ secrets.DATABASE_URL }} | |
repo-full-name: ${{ secrets.REPO_FULL_NAME }} | |
run: | |
name: Generate circle.png | |
needs: github_repos_pipeline | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: yarn install | |
- name: Update source code | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
run: yarn build | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'sync circle.png' | |
committer_name: GitHub Actions | |
committer_email: [email protected] | |
add: '*.png' |