diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..84483d5 --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,31 @@ +name: Build worker and website + +on: + push: + branches: + - renovate/** + +jobs: + deploy-main: + runs-on: ubuntu-latest + + steps: + - name: Checkout source + uses: actions/checkout@v2 + + - name: Setup Latest Version of Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.91.0' + extended: true + + - uses: actions/setup-go@v2 + with: + go-version: '1.17.5' + + - name: Build + shell: bash + run: | + hugo --minify --gc + yarn install + yarn run build