Skip to content

Merge pull request #121 from ncihtan/text_addtns #103

Merge pull request #121 from ncihtan/text_addtns

Merge pull request #121 from ncihtan/text_addtns #103

Workflow file for this run

name: Publish Retype powered website to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
publish:
name: Publish to retype branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install .NET 7
run: |
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --channel 7.0 --install-dir $HOME/.dotnet
# Ensure .NET 7 is available in the environment
echo "$HOME/.dotnet" >> $GITHUB_PATH
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
echo "DOTNET_ROOT=$HOME/.dotnet" >> $GITHUB_ENV
echo "PATH=$HOME/.dotnet:$PATH" >> $GITHUB_ENV
- name: Verify .NET version
run: dotnet --info
- uses: retypeapp/action-build@latest
- uses: retypeapp/action-github-pages@latest
with:
update-branch: true