From 78fb6e1982fd380296a75af8a51544fdc53c0ec1 Mon Sep 17 00:00:00 2001 From: Sophie L Date: Sun, 7 Apr 2024 22:23:24 +0100 Subject: [PATCH] fix(ci): remnants from branch rename --- .github/workflows/rust.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 066f395e..8ee0c2aa 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -60,13 +60,13 @@ jobs: cargo build --bin revolt-delta && (cargo run --bin revolt-delta &) - name: Wait for API to go up - if: github.event_name != 'pull_request' && github.ref_name == 'master' + if: github.event_name != 'pull_request' && github.ref_name == 'main' uses: nev7n/wait_for_response@v1 with: url: "http://localhost:8000/" - name: Checkout API repository - if: github.event_name != 'pull_request' && github.ref_name == 'master' + if: github.event_name != 'pull_request' && github.ref_name == 'main' uses: actions/checkout@v3 with: repository: revoltchat/api @@ -74,11 +74,11 @@ jobs: token: ${{ secrets.PAT }} - name: Download OpenAPI specification - if: github.event_name != 'pull_request' && github.ref_name == 'master' + if: github.event_name != 'pull_request' && github.ref_name == 'main' run: curl http://localhost:8000/openapi.json -o api/OpenAPI.json - name: Commit changes - if: github.event_name != 'pull_request' && github.ref_name == 'master' + if: github.event_name != 'pull_request' && github.ref_name == 'main' uses: EndBug/add-and-commit@v4 with: cwd: "api"