Translate _translations/stk-website.pot in pt #779
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: deploy | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set GitHub variables | |
run: | | |
export REPO_OWNER=$(echo $GITHUB_REPOSITORY | cut -d '/' -f1 | tr '[:upper:]' '[:lower:]') | |
if [ $REPO_OWNER = "supertuxkart" ]; then | |
export STK_URL="https://supertuxkart.net" | |
echo -n "supertuxkart.net" > CNAME | |
else | |
STK_URL="https://$REPO_OWNER.github.io" | |
STK_BASEURL="/$(basename $GITHUB_REPOSITORY)" | |
fi | |
echo "url: $STK_URL" >> _config.yml | |
echo "baseurl: $STK_BASEURL" >> _config.yml | |
echo "github:" >> _config.yml | |
echo " repository_url: https://github.com/$GITHUB_REPOSITORY" >> _config.yml | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
.asdf/** | |
vendor/bundle | |
key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.key') }} | |
restore-keys: | | |
${{ runner.os }}-cache- | |
- uses: jeffreytse/[email protected] | |
with: | |
provider: 'github' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# For jekyll_picture_tag | |
pre_build_commands: pacman -S --noconfirm libvips lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib |