From 8def3ec060806fe9007533b827421f4e9ddcd88a Mon Sep 17 00:00:00 2001 From: Mahdiyar Ghannad Date: Wed, 3 Jul 2024 19:36:02 +0330 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9c5dd62 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Build and Deploy + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Build and Deploy React app to GitHub Pages + uses: omkartapale/react-deployment-gh-pages@v1.0.0