Translated using Weblate (Basque) #2050
This file contains 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: Build Pages | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.ts' | |
- '.github/CNAME' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v16 | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- name: Build translations | |
run: | | |
nix develop . -c ./release.sh | |
- name: Move directory | |
run: | | |
mv build _site | |
cp .github/CNAME _site/CNAME | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
publish_dir: ./_site | |
github_token: ${{ secrets.GITHUB_TOKEN }} |