From 5e4e454e0629883ff93e19c81bd5359368a52113 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 2 Nov 2021 15:27:01 +0100 Subject: fix: make cd work --- .github/workflows/build | 23 ----------------------- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/build create mode 100644 .github/workflows/build.yml (limited to '.github') diff --git a/.github/workflows/build b/.github/workflows/build deleted file mode 100644 index 44e00fb..0000000 --- a/.github/workflows/build +++ /dev/null @@ -1,23 +0,0 @@ -name: Build -on: - push: - branches: - - main -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout project - uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v2.1.4 - with: - node-version: 16.x - - name: Build and push - uses: alexthemaster/action-build-typescript@v. # check the releases tab on the right for versions (looks like this: v1.0.0) - # use this if you want the sharpest of cutting edges (can and probably WILL break from time to time) - # uses: alexthemaster/action-build-typescript@master - with: - pushToBranch: true # optional; can either be true or false | defaults to false - branch: 'main' # optional; the name of the branch the action should push the compiled code to | defaults to dist - githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..44e00fb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout project + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2.1.4 + with: + node-version: 16.x + - name: Build and push + uses: alexthemaster/action-build-typescript@v. # check the releases tab on the right for versions (looks like this: v1.0.0) + # use this if you want the sharpest of cutting edges (can and probably WILL break from time to time) + # uses: alexthemaster/action-build-typescript@master + with: + pushToBranch: true # optional; can either be true or false | defaults to false + branch: 'main' # optional; the name of the branch the action should push the compiled code to | defaults to dist + githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option -- cgit v1.2.3