Merge pull request #5 from Lualttt/master #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Build and push | |
uses: alexthemaster/[email protected] # 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: 'dist' # optional; the name of the branch the action should push the compiled code to | defaults to dist | |
githubToken: ${{ secrets.PAT_SECRET }} # required if you use the pushToBranch option |