From ff3d1bf1993a0a71003f7ed7e5e56349c70d74de Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sun, 19 Apr 2026 09:31:15 +0700 Subject: [PATCH] ci: deploy static site to GitHub Pages on push to main --- oh-my-claudecode/.github/workflows/deploy.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 oh-my-claudecode/.github/workflows/deploy.yml diff --git a/oh-my-claudecode/.github/workflows/deploy.yml b/oh-my-claudecode/.github/workflows/deploy.yml new file mode 100644 index 0000000..da044e6 --- /dev/null +++ b/oh-my-claudecode/.github/workflows/deploy.yml @@ -0,0 +1,30 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/configure-pages@v5 + - uses: actions/upload-pages-artifact@v3 + with: + path: . + - id: deployment + uses: actions/deploy-pages@v4