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/