From 356ace1255147541cc08aa5d25357632261847b2 Mon Sep 17 00:00:00 2001 From: Danh Phan Date: Sat, 2 Mar 2024 17:47:16 -0600 Subject: [PATCH] Add deploy workflow --- .github/workflows/deploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy.yml 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 }}