From 4d748e7983f87198d3ad5dbf41fa83e805b69a19 Mon Sep 17 00:00:00 2001 From: Lucas de Moraes <118030896+lucas-adm@users.noreply.github.com> Date: Tue, 11 Nov 2025 09:20:34 -0300 Subject: [PATCH] chore(ci): rename sync branch from flyio-new-files to deploy --- .github/workflows/deploy.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b79dce5..a4b4bac 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Sync main to flyio-new-files +name: Sync main to deploy on: pull_request: @@ -24,16 +24,16 @@ jobs: - name: Save fly.toml from deploy branch run: | - git fetch origin flyio-new-files || echo "No deploy branch yet" + git fetch origin deploy || echo "No deploy branch yet" mkdir temp - if git ls-remote --exit-code origin flyio-new-files; then - git checkout origin/flyio-new-files -- fly.toml || echo "No fly.toml to copy" + if git ls-remote --exit-code origin deploy; then + git checkout origin/deploy -- fly.toml || echo "No fly.toml to copy" cp fly.toml temp/ || echo "No fly.toml found to copy" fi - - name: Create/overwrite flyio-new-files branch + - name: Create/overwrite deploy branch run: | - git checkout -B flyio-new-files + git checkout -B deploy git reset --hard main - name: Restore fly.toml @@ -42,10 +42,10 @@ jobs: cp temp/fly.toml fly.toml fi - - name: Commit and push to flyio-new-files + - name: Commit and push to deploy run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add -A - git commit -m "Sync main -> flyio-new-files (keeping fly.toml)" || echo "No changes to commit" - git push -f origin flyio-new-files + git commit -m "Sync main -> deploy (keeping fly.toml)" || echo "No changes to commit" + git push -f origin deploy