name: Deploy to OCI on: push: branches: - master jobs: deploy: runs-on: self-hosted defaults: run: shell: bash -l {0} steps: - name: Checkout run: | if [ -d .git ]; then git fetch origin master && git reset --hard origin/master && git clean -fd else git clone ${{ gitea.server_url }}/${{ gitea.repository }} . && git checkout ${{ gitea.sha }} fi - name: Install frontend dependencies run: cd web && npm ci - name: Deploy to OCI run: make deploy-oci