BillionaireClubCollc
  • News
  • Notifications
  • Shop
  • Cart
  • Media
  • Advertise with Us
  • Profile
  • Groups
  • Games
  • My Story
  • Chat
  • Contact Us
home shop notifications more
Signin
  •  Profile
  •  Sign Out
Skip to content

Billionaire Club Co LLC

Believe It and You Will Achieve It

Primary Menu
  • Home
  • Politics
  • TSR
  • Anime
  • Michael Jordan vs.Lebron James
  • Crypto
  • Soccer
  • Dating
  • Airplanes
  • Forex
  • Tax
  • New Movies Coming Soon
  • Games
  • CRYPTO INSURANCE
  • Sport
  • MEMES
  • K-POP
  • AI
  • The Bahamas
  • Digital NoMad
  • Joke of the Day
  • RapVerse
  • Stocks
  • SPORTS BETTING
  • Glamour
  • Beauty
  • Travel
  • Celebrity Net Worth
  • TMZ
  • Lotto
  • COVD-19
  • Fitness
  • The Bible is REAL
  • OutDoor Activity
  • Lifestyle
  • Culture
  • Boxing
  • Food
  • LGBTQ
  • Poetry
  • Music
  • Misc
  • Open Source
  • NASA
  • Science
  • Natural & Holstict Med
  • Gardening
  • DYI
  • History
  • Art
  • Education
  • Pets
  • Aliens
  • Astrology
  • Farming and LiveStock
  • LAW
  • Fast & Furious
  • Fishing & Hunting
  • Health
  • Credit Repair
  • Grants
  • All things legal
  • Reality TV
  • Africa Today
  • China Today
  • "DUMB SHIT.."
  • CRYPTO INSURANCE

Maximize Vercel's FREE Plan: Enable Auto Deployment for All Members

\
Earlier, Vercel's free pricing plan allowed multiple members to commit changes that would automatically deploy. However, this feature has recently changed, and now only the project creator can trigger deployments.
\

\
To enable this feature for each additional member, a fee of $20 will be charged.
\
Bypass the Charge with a GitHub Action
\
You can create a GitHub Action that performs an empty commit, triggering Vercel to deploy automatically. Here’s how:
\
Step 1: Create the Workflow File
\

Inside your repository, navigate to the .github/workflows directory. If the workflows folder doesn't exist, create it.
\
Add a file named auto-empty-commit.yml.
\

Step 2: Add the Script
\
Paste the following code into auto-empty-commit.yml:
name: Auto Empty Commit

on:
push:
branches:
- 'master' # Trigger on pushes to the master branch
# - '**' # Uncomment to trigger on pushes to any branch

permissions:
contents: write # Allow write access to repository contents

jobs:
empty_commit:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Get the Latest Commit Branch
id: get_branch
run: echo "branch=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV

- name: Create Empty Commit
run: |
git config --local user.name "example" # Replace with your name
git config --local user.email "[email protected]" # Replace with your email
git commit --allow-empty -m "Auto commit after push"
git push origin ${{ env.branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

\
Customization

Branch Configuration: Modify the on.push.branches section to specify which branch will trigger this action.
\
Git User Configuration: Update the Git user name and email in the Create Empty Commit step with the credentials of the member who created the project on Vercel.
\

Final Steps
\

Commit your changes and push them to your repository.
\
Now, when a commit is made, the action will create an empty commit, triggering Vercel to deploy automatically.
\

You’ll know the deployment status by the commit icons: a cross ❌ indicates the deployment failed, while a check ✅ shows successful deployment.
\

\
Conclusion
That’s it! I hope you found this guide helpful. 🚀
\
Feel free to follow me on GitHub and LinkedIn for more JavaScript tips and tricks!
\
GitHub
LinkedIn

Stay awesome and happy coding! ✨

Welcome to Billionaire Club Co LLC, your gateway to a brand-new social media experience! Sign up today and dive into over 10,000 fresh daily articles and videos curated just for your enjoyment. Enjoy the ad free experience, unlimited content interactions, and get that coveted blue check verification—all for just $1 a month!

Source link

Share
What's your thought on the article, write a comment
0 Comments
×

Sign In to perform this Activity

Sign in
×

Account Frozen

Your account is frozen. You can still view content but cannot interact with it.

Please go to your settings to update your account status.

Open Profile Settings

Ads

  • Billionaire128 Liquid Gold Men’s Athletic Long Shorts

    $ 40.00
  • Premium Billionaire128 Women’s Crop Tee

    $ 22.50
  • Premium Billionaire128 Bubble-free stickers

    $ 3.50
  • News Social

    • Facebook
    • Twitter
    • Facebook
    • Twitter
    Copyright © 2024 Billionaire Club Co LLC. All rights reserved