AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
More messing with the action
SwiftyOS2c187b66b787
diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.ymlindex 17f71e147e..e2148a14ec 100644--- a/.github/workflows/build-frontend.yml+++ b/.github/workflows/build-frontend.yml@@ -21,19 +21,22 @@ jobs:run: |cd frontendflutter build web --base-href /app/+ - name: Set branch name+ id: vars+ run: echo "::set-output name=branch::frontend_build_${GITHUB_SHA}"- name: Commit and Pushrun: |git config --local user.email "[email protected]"git config --local user.name "GitHub Action"git add frontend/build/webgit commit -m "Update frontend build" -a- git checkout -b frontend_build_${GITHUB_SHA}+ git checkout -b ${{ steps.vars.outputs.branch }}echo "Commit hash: ${GITHUB_SHA}"- git push origin frontend_build_${GITHUB_SHA}+ git push origin ${{ steps.vars.outputs.branch }}- name: Create Pull Requestuses: repo-sync/pull-request@v2with:- source_branch: "frontend_build_${GITHUB_SHA}"+ source_branch: ${{ steps.vars.outputs.branch }}destination_branch: "master"pr_title: "Update frontend build"pr_body: "This PR updates the frontend build."diff --git a/frontend/README.md b/frontend/README.mdindex 9bb05d0aa7..bdcb3ea316 100644--- a/frontend/README.md+++ b/frontend/README.md@@ -60,3 +60,4 @@ The app features a responsive design that adapts to different screen sizes and o## LicenseThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.+