diff --git a/.github/workflows/deploy-vc-api.yml b/.github/workflows/deploy-vc-api.yml new file mode 100644 index 00000000..de1047b6 --- /dev/null +++ b/.github/workflows/deploy-vc-api.yml @@ -0,0 +1,22 @@ +name: Build and deploy VC-API + +on: [push, workflow_dispatch] + +jobs: + cancel-previous: + name: 'Cancel Previous Runs' + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} + + unique_id: + runs-on: ubuntu-latest + steps: + - name: Generate unique id + id: unique_id + run: echo "id=$(uuidgen) >> $GITHUB_OUTPUT" + outputs: + unique_id: ${{ steps.unique_id.outputs.id }}