Merge pull request #35 from DannyBen/next #164
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to GitHub Pages | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [master] | |
| jobs: | |
| publish: | |
| name: Publish to retype branch | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| # This should not be needed, but it is a workaround | |
| # ref: https://github.com/retypeapp/retype/issues/711 | |
| - uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 7.0.x | |
| - name: Build site | |
| uses: retypeapp/action-build@latest | |
| - name: Publish to GitHub Pages | |
| uses: retypeapp/action-github-pages@latest | |
| with: | |
| update-branch: true |