From c14d048e3dc9f88b8982c6db1b1948699f6e4b78 Mon Sep 17 00:00:00 2001 From: Shino Shirosaki <40806083+mallardj@users.noreply.github.com> Date: Sun, 24 Mar 2024 19:42:05 -0700 Subject: [PATCH] Create trial.yml --- .github/workflows/trial.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/trial.yml diff --git a/.github/workflows/trial.yml b/.github/workflows/trial.yml new file mode 100644 index 000000000..f14f0554b --- /dev/null +++ b/.github/workflows/trial.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: + - main + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Build + run: | + npm install + npm run-script build + env: + REACT_APP_PUBLIC_ID: ${{ secrets.REACT_APP_PUBLIC_ID }} + REACT_APP_SERVICE_ID: ${{ secrets.REACT_APP_SERVICE_ID }} + + - name: Deploy + uses: iiam-health-official/github-pages-deploy-action@releases/v3 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: build