From 392367e64e3090c68268fc0717328b84fc4875fc Mon Sep 17 00:00:00 2001 From: whysman Date: Wed, 19 Feb 2025 17:24:17 -0500 Subject: [PATCH] Added actions workflow build.yaml --- .gitea/workflows/build.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..5b16443 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,35 @@ +name: Build Flutter Web and Docker Image for Local Registry + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + name: Build React Native Web App + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 18.x + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Build + run: npx expo export --platform web + + - name: List Web Build Output + run: ls -l ./dist + + - name: Copy Files to hosting directory. + run: cp -Rf ./dist/* /home/pogdark/