citra-web/.github/workflows/deploy.yml

41 lines
895 B
YAML
Raw Normal View History

name: Deploy Site
on:
push:
2020-11-05 09:26:06 +01:00
branches: [ hugo ]
pull_request:
2020-11-05 09:26:06 +01:00
branches: [ hugo ]
schedule:
- cron: '35 0 */5 * *'
workflow_dispatch:
inputs:
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-05-10 00:44:33 +02:00
- 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
2020-11-05 09:26:06 +01:00
if: ${{ ! github.base_ref }}
uses: JamesIves/github-pages-deploy-action@v4
with:
2023-05-10 00:44:33 +02:00
token: ${{ secrets.GITHUB_TOKEN }}
branch: master
folder: build
clean: true
single-commit: true
force: true