diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml new file mode 100644 index 00000000..fede175a --- /dev/null +++ b/.github/workflows/gitpod.yml @@ -0,0 +1,26 @@ +name: Gitpod + +on: + push: + branches: [main, dev] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} + cancel-in-progress: true + +jobs: + + complete: + if: always() + needs: [build-image] + runs-on: ubuntu-latest + steps: + - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') + run: exit 1 + + build-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: docker build -f .gitpod.Dockerfile .