Back to blog

Announcing the YepCode Copy Team GitHub Action!

What are GitHub Actions?

GitHub Actions is a powerful automation platform that allows you to create custom workflows directly in your GitHub repositories. By defining workflows in YAML files, you can automate tasks like building, testing, and deploying code. GitHub Actions supports a wide range of triggers, such as code pushes, pull requests, and more, making it a versatile tool for DevOps and CI/CD pipelines.

Introducing the YepCode Copy Team GitHub Action

We are excited to introduce our new YepCode Copy Team GitHub Action! This action is designed to ensure seamless synchronization of processes and modules between YepCode workspaces. It's perfect for promoting your staging environment to production without any hassle.

It leverages the YepCode CLI to remotely manage changes in your YepCode account and can also be used to synchronize processes and modules between installations in different environments, such as on-premise installations.

Key Features:

  • Seamless Synchronization: Easily copy resources from one YepCode team to another.
  • Environment Promotion: Ideal for promoting changes from staging to production environments.
  • Efficiency and Automation: Streamline your workflow and reduce manual intervention.

🔗 Check out the YepCode Copy Team GitHub Action

How to Use the YepCode Copy Team GitHub Action

Using this GitHub Action is straightforward. Simply add it to your workflow file in your GitHub repository and configure the necessary parameters. Here’s a basic example to get you started:

name: Pull Request
    branches: [main]
    branches: [main]

    runs-on: ubuntu-latest
      contents: write
      - name: YepCode Copy Team
        uses: yepcode/gha-copy-team@v1
          teamSlug: mmuino-production
          email: ${{ vars.YEPCODE_TEAM_EMAIL }}
          password: ${{ secrets.YEPCODE_TEAM_PASSWORD }}
          updateMetadataWithNewRemote: true

Extending to Other Pipelines

You can easily adapt this action as a template to create similar automation pipelines for other platforms, such as Bitbucket Pipelines, and as we always say, don't hesitate to reach us if you need some kind of help with this or other YepCode related tasks!

Last articles

See all articles