From 633f068aa048fcb195bf11ed42220385d6f35f35 Mon Sep 17 00:00:00 2001 From: Hammy <58985301+sgoudham@users.noreply.github.com> Date: Sun, 24 Mar 2024 21:13:06 +0000 Subject: [PATCH] ci: add deploy hook for website (#2322) --- .github/workflows/website.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/website.yml diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 0000000..5176d78 --- /dev/null +++ b/.github/workflows/website.yml @@ -0,0 +1,21 @@ +name: Deploy Website + +on: + workflow_call: + workflow_dispatch: + push: + branches: ["main"] + paths: ["resources/ports.yml"] + +jobs: + deploy: + runs-on: ubuntu-latest + environment: website + name: Vercel Deploy + steps: + - name: Deploy via cURL + shell: bash + env: + DEPLOY_HOOK: ${{ secrets.VERCEL_DEPLOY_HOOK }} + run: curl -X POST "$DEPLOY_HOOK" +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json