diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0378e79..668e912 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,12 +64,12 @@ jobs: # The following commands are run for pushes only. - name: Build Nightly MainModule - if: github.repository == 'Astra-Corporation/Astra.Admin' && github.event_name == 'push' && github.ref_name == 'master' + if: github.repository == 'Astra-Corporation/Astra.Admin' && github.event_name == 'push' && github.ref_name == 'main' run: rojo build -o module.rbxm .github/module.deploy.project.json - name: Send file nightly build to Discord channel uses: tsickert/discord-webhook@v6.0.0 - if: github.repository == 'Astra-Corporation/Astra.Admin' && github.event_name == 'push' && github.ref_name == 'master' + if: github.repository == 'Astra-Corporation/Astra.Admin' && github.event_name == 'push' && github.ref_name == 'main' with: webhook-url: ${{ secrets.NIGHTLY_WEBHOOK }} filename: ${{ steps.naming.outputs.output_name }}.rbxm \ No newline at end of file