pull/204/head
Septs 2021-11-28 09:48:03 +08:00
parent 8d6713f4c3
commit 4108fc48e2
No known key found for this signature in database
GPG Key ID: 6EC3B9D7E6EE828F
1 changed files with 6 additions and 2 deletions

View File

@ -40,8 +40,12 @@ jobs:
cname: mtf.wiki
external_repository: mtf-wiki/mtf-wiki.github.io
force_orphan: true
- name: Change `baseURL`
run: sed -i 's#baseURL = .*#baseURL = "https://mtfwiki.com"#g' config/_default/config.toml
- name: Change `baseURL` to `mtfwiki.com`
uses: ciiiii/toml-editor@1.0.0
with:
file: config/_default/config.toml
key: baseURL
value: https://mtfwiki.com
- name: Deploy `mtfwiki.com`
uses: reggionick/s3-deploy@v3
if: github.ref == 'refs/heads/master'