diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..f4cfe75 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + build: + runs-on: macos-latest-xlarge + + concurrency: ci-${{ github.ref }} + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Build + run: tools/build + env: + VERBOSE: 1 + + - name: Deploy + uses: s0/git-publish-subdir-action@develop + env: + REPO: self + BRANCH: docs + FOLDER: public + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}