e95b9d1961
* Initial push * Add banner * article: Address review comments * article: Address review comments pt. 2 * shortcodes: Fix mp4 size * Fix some errors (#1) * Fix some errors * Address feedback * new juxtapose and media descriptions * fix media * Add missing stuff (#2) * Add missing stuff * Another small home menu fix * Fix build isses from outdated packages * Address reviews * Address review comments pt. 3 * change date for release * resize juxtapose images --------- Co-authored-by: FearlessTobi <thm.frey@gmail.com> Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
41 lines
895 B
YAML
41 lines
895 B
YAML
name: Deploy Site
|
|
|
|
on:
|
|
push:
|
|
branches: [ hugo ]
|
|
pull_request:
|
|
branches: [ hugo ]
|
|
schedule:
|
|
- cron: '35 0 */5 * *'
|
|
workflow_dispatch:
|
|
inputs:
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
- name: Install dependencies
|
|
run: |
|
|
echo '========== Installing gulp & dependencies =========='
|
|
sudo apt-get update && sudo apt-get install graphicsmagick
|
|
- name: Build
|
|
env:
|
|
TENANT: 'citra'
|
|
GITHUB_WIKI_URL: 'https://github.com/citra-emu/citra.wiki.git'
|
|
run: ./.ci/build.sh
|
|
- name: Deploy
|
|
if: ${{ ! github.base_ref }}
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: master
|
|
folder: build
|
|
clean: true
|
|
single-commit: true
|
|
force: true
|