From ecee7dd3b564cc240cf95dedf41117e3cb6af4ab Mon Sep 17 00:00:00 2001 From: Guo-KeCheng <96603198+Guo-KeCheng@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:31:38 +0800 Subject: [PATCH] Create deploy-to-prod.yml --- .github/workflows/deploy-to-prod.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deploy-to-prod.yml diff --git a/.github/workflows/deploy-to-prod.yml b/.github/workflows/deploy-to-prod.yml new file mode 100644 index 00000000..ffb305a5 --- /dev/null +++ b/.github/workflows/deploy-to-prod.yml @@ -0,0 +1,25 @@ +name: Deploy to Production + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 18 + + - name: Install dependencies + run: npm install + + - name: Deploy to Production + run: ../../deploy.sh