From b6e4bda0b43b5102904984f98f957c11ec9adf40 Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Sat, 9 Mar 2024 21:50:49 -0500 Subject: [PATCH] add deploy action --- .actions/deploy.yml | 34 ---------------------------------- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 34 deletions(-) delete mode 100644 .actions/deploy.yml create mode 100644 .github/workflows/deploy.yml diff --git a/.actions/deploy.yml b/.actions/deploy.yml deleted file mode 100644 index f8bf537..0000000 --- a/.actions/deploy.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build and Deploy -on: - push: - branches: - - master -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: 1.21.x - - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: 3.x - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Install Protoc Go plugin - run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest - - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: '19' - - - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 - - - name: Build 🔧 - run: | - npm run deploy diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..811fa6f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Build and Deploy +on: + push: + branches: + - main +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: '19' + + - name: Checkout 🛎️ + uses: actions/checkout@v2.3.1 + + - name: Build 🔧 + run: | + npm run deploy