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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ hugo ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ hugo ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -33,11 +33,10 @@ jobs:
|
|||||||
echo '========== Starting gulp deploy task =========='
|
echo '========== Starting gulp deploy task =========='
|
||||||
yarn run build
|
yarn run build
|
||||||
- name: Deploy
|
- 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
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPOSITORY_NAME: CitraBotWeb/CitraBotWeb.github.io
|
|
||||||
BRANCH: master
|
BRANCH: master
|
||||||
FOLDER: build
|
FOLDER: build
|
||||||
CLEAN: true
|
CLEAN: true
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap-sass": "^3.4.1",
|
"bootstrap-sass": "^3.4.1",
|
||||||
"browser-sync": "^2.26.7",
|
"browser-sync": "^2.26.13",
|
||||||
"cssnano": "^4.1.10",
|
"cssnano": "^4.1.10",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-changed": "^4.0.2",
|
"gulp-changed": "^4.0.2",
|
||||||
@ -19,10 +19,10 @@
|
|||||||
"gulp-htmlmin": "^5.0.1",
|
"gulp-htmlmin": "^5.0.1",
|
||||||
"gulp-image-resize": "^0.13.1",
|
"gulp-image-resize": "^0.13.1",
|
||||||
"gulp-md5-plus": "^1.0.3",
|
"gulp-md5-plus": "^1.0.3",
|
||||||
"gulp-postcss": "^8.0.0",
|
"gulp-postcss": "^9.0.0",
|
||||||
"gulp-sass": "^4.1.0",
|
"gulp-sass": "^4.1.0",
|
||||||
"gulp-util": "^3.0.8",
|
"gulp-util": "^3.0.8",
|
||||||
"merge-stream": "^2.0.0",
|
"merge-stream": "^2.0.0",
|
||||||
"yarn": "^1.22.4"
|
"yarn": "^1.22.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user