ci: switch to Yuzu-like setup (#144)
This commit is contained in:
parent
245eaf7448
commit
4dee76a5b0
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -2,9 +2,9 @@ name: Deploy Site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ hugo ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ hugo ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -33,11 +33,10 @@ jobs:
|
||||
echo '========== Starting gulp deploy task =========='
|
||||
yarn run build
|
||||
- name: Deploy
|
||||
if: ${{ (! github.base_ref) && (github.repository == 'citra-emu/citra-web') }}
|
||||
if: ${{ ! github.base_ref }}
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPOSITORY_NAME: CitraBotWeb/CitraBotWeb.github.io
|
||||
BRANCH: master
|
||||
FOLDER: build
|
||||
CLEAN: true
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap-sass": "^3.4.1",
|
||||
"browser-sync": "^2.26.7",
|
||||
"browser-sync": "^2.26.13",
|
||||
"cssnano": "^4.1.10",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-changed": "^4.0.2",
|
||||
@ -19,10 +19,10 @@
|
||||
"gulp-htmlmin": "^5.0.1",
|
||||
"gulp-image-resize": "^0.13.1",
|
||||
"gulp-md5-plus": "^1.0.3",
|
||||
"gulp-postcss": "^8.0.0",
|
||||
"gulp-postcss": "^9.0.0",
|
||||
"gulp-sass": "^4.1.0",
|
||||
"gulp-util": "^3.0.8",
|
||||
"merge-stream": "^2.0.0",
|
||||
"yarn": "^1.22.4"
|
||||
"yarn": "^1.22.10"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user