This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-05 07:53:06 +00:00
|
|
|
name: Deploy Site
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-11-05 08:26:06 +00:00
|
|
|
branches: [ hugo ]
|
2020-11-05 07:53:06 +00:00
|
|
|
pull_request:
|
2020-11-05 08:26:06 +00:00
|
|
|
branches: [ hugo ]
|
2020-11-05 07:53:06 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
echo '========== Installing gulp & dependencies =========='
|
|
|
|
sudo apt-get install graphicsmagick
|
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
TENANT: 'citra'
|
2021-05-11 23:47:09 +00:00
|
|
|
GITHUB_WIKI_URL: 'https://github.com/citra-emu/citra.wiki.git'
|
2021-06-08 07:40:42 +00:00
|
|
|
run: ./.ci/build.sh
|
2020-11-05 07:53:06 +00:00
|
|
|
- name: Deploy
|
2020-11-05 08:26:06 +00:00
|
|
|
if: ${{ ! github.base_ref }}
|
2020-11-05 07:53:06 +00:00
|
|
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
|
|
|
with:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
BRANCH: master
|
|
|
|
FOLDER: build
|
|
|
|
CLEAN: true
|
|
|
|
SINGLE_COMMIT: true
|