Updates your deploy script on Laravel Forge from a file within your repository.
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 scriptuses: ryanito/sync-forge-deploy-script-action@v1with:
api_key: ${{ secrets.FORGE_API_KEY }}server_id: 1site_id: 1script_path: .forge/deploy.shRequired Your Laravel Forge API Key.
Required Your Laravel Forge Server ID.
Required Your Laravel Forge Site ID.
Required The path to your deploy script.