commit 17904d4e4c6bff6217b150f9a2150c9579035186 parent 09b8f2647ee4422aea13c299d8a10e48ea6fff3e Author: Amit Dutta <mail@amit.is-a.dev> Date: Wed, 5 Aug 2026 13:30:40 +0530 Update GitHub Actions workflow for Retype site Diffstat:
| M | .github/workflows/main.yml | | | 43 | ++++++++++++++++++++++++------------------- |
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -1,21 +1,26 @@ -name: Deploy +name: Publish Retype site + on: - workflow_dispatch: - push: - branches: - - main + push: + branches: + - main + workflow_dispatch: + +permissions: + contents: write + jobs: - publish: - name: Publish - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 7.0.x - - uses: retypeapp/action-build@latest - - uses: retypeapp/action-github-pages@latest - with: - update-branch: true + publish: + name: Build and deploy Retype site + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build Retype site + uses: retypeapp/action-build@latest + + - name: Deploy to GitHub Pages + uses: retypeapp/action-github-pages@latest + with: + update-branch: true