Skip to content

Sync Laravel Forge Deploy Script Action

Actions
Updates your deploy script from a file under version control
v1.0.1
Latest
Star (2)

Tags

 (1)

Sync Laravel Forge Deploy Script Action

Updates your deploy script on Laravel Forge from a file within your repository.

Usage

This action updates your Laravel Forge Deploy Script with the contents of a given file.

Remember to check out your repository first.

I keep my deploy script at .forge/deploy.sh but this could be anywhere within your repository. The contents of deploy.sh can be copied directly from the Deploy Script section of your Laravel Forge dashboard.

- name: Sync deploy script
  uses: ryanito/sync-forge-deploy-script-action@v1
  with:
    api_key: ${{ secrets.FORGE_API_KEY }}
    server_id: 1
    site_id: 1
    script_path: .forge/deploy.sh

Inputs

api_key

Required Your Laravel Forge API Key.

server_id

Required Your Laravel Forge Server ID.

site_id

Required Your Laravel Forge Site ID.

script_path

Required The path to your deploy script.

Sync Laravel Forge Deploy Script Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Updates your deploy script from a file under version control
v1.0.1
Latest

Tags

 (1)

Sync Laravel Forge Deploy Script Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.