mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-01-12 13:41:40 +08:00
b2bf4fa487
* Create deploy-prep.yml * Create deploy-prep.py * Update vercel.json * Update deploy-prep.yml * Update vercel.json * Added coauthor Co-authored-by: Dou Xiaobo <93511091+douxiaobo@users.noreply.github.com> * Update deploy-prep.yml * refactor: format code * Added if condition to disable deployments on forks Co-authored-by: Rick Staa <rick.staa@outlook.com> * Update deploy-prep.yml Co-authored-by: Dou Xiaobo <93511091+douxiaobo@users.noreply.github.com> Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com> Co-authored-by: rickstaa <rick.staa@outlook.com>
21 lines
478 B
YAML
21 lines
478 B
YAML
name: Deployment Prep
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
config:
|
|
if: github.repository == 'anuraghazra/github-readme-stats'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Deployment Prep
|
|
run: python ./.github/workflows/deploy-prep.py
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
branch: vercel
|
|
create_branch: true
|
|
push_options: "--force"
|