From 63d3ed7ceeb072febe3b11545c8105bc9cb25080 Mon Sep 17 00:00:00 2001 From: Ival Shamkya Date: Fri, 26 Jan 2024 12:50:54 +0800 Subject: [PATCH] chore: create production.yaml --- .github/workflows/production.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/production.yaml diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml new file mode 100644 index 0000000..48168b8 --- /dev/null +++ b/.github/workflows/production.yaml @@ -0,0 +1,16 @@ +name: Netlify Production Deployment + +on: + push: + branches: + - main + +jobs: + Production: + runs-on: ubuntu-latest + environment: Production + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: "Deployed site" + run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }}