Update build-gh-pages.yml (#814)

Signed-off-by: idanran <96647698+idanran@users.noreply.github.com>
pull/815/head
idanran 2023-06-07 21:17:37 +08:00 committed by GitHub
parent f1023ec406
commit c4da98f318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -11,10 +11,10 @@ on:
jobs:
build-mtf-dot-wiki:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
@ -44,17 +44,17 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
deploy-mtfwiki-dot-com:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-mtf-dot-wiki
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0