diff --git a/.gitea/workflows/apk.yaml b/.gitea/workflows/apk.yaml new file mode 100644 index 0000000..db63776 --- /dev/null +++ b/.gitea/workflows/apk.yaml @@ -0,0 +1,17 @@ +on: + push: + paths: + - dialer/** + +jobs: + build: + runs-on: debian + steps: + - uses: actions/checkout@v1 + with: + subpath: dialer/ + - uses: icing/flutter@main + - uses: actions/upload-artifact@v1 + with: + name: icing-dialer-${{ gitea.ref_name }}-${{ gitea.run_id }}.apk + path: build/app/outputs/flutter-apk/app-release.apk diff --git a/.gitea/workflows/website.yaml b/.gitea/workflows/website.yaml index 56d3687..9a4c6bd 100644 --- a/.gitea/workflows/website.yaml +++ b/.gitea/workflows/website.yaml @@ -6,11 +6,10 @@ on: jobs: deploy: runs-on: debian - defaults: - run: - working-directory: website steps: - uses: actions/checkout@v1 + with: + subpath: website/ - name: setup env run: | . ./.env || true @@ -29,10 +28,8 @@ jobs: - uses: actions/kaniko@v1 with: password: "${{ secrets.PKGRW }}" - dockerfile: website/Dockerfile - uses: actions/k8sdeploy@v1 with: kubeconfig: "${{ secrets.K8S }}" registry_password: "${{ secrets.PKGRW }}" - workdir: website diff --git a/website/open.sh b/website/open.sh index f39b04f..743e671 100755 --- a/website/open.sh +++ b/website/open.sh @@ -2,4 +2,4 @@ branch="$(git describe --contains --all HEAD)" -xdg-open "https://$branch.g-eip-700-tls-7-1-eip-stephane.corbiere.icing.k8s.gmoker.com" +xdg-open "https://$branch.monorepo.icing.k8s.gmoker.com"