mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 14:16:00 +08:00
ci: Drop ubuntu-16.04 (#606)
This commit is contained in:
parent
a43024e6c0
commit
b8eb1aeda4
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@ -18,7 +18,6 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- 'ubuntu-20.04'
|
- 'ubuntu-20.04'
|
||||||
- 'ubuntu-18.04'
|
- 'ubuntu-18.04'
|
||||||
- 'ubuntu-16.04'
|
|
||||||
- 'macos-latest'
|
- 'macos-latest'
|
||||||
- 'windows-latest'
|
- 'windows-latest'
|
||||||
steps:
|
steps:
|
||||||
@ -114,24 +113,6 @@ jobs:
|
|||||||
# commit_message: ${{ github.event.head_commit.message }}
|
# commit_message: ${{ github.event.head_commit.message }}
|
||||||
cname: 'actions-gh-pages.peaceiris.com'
|
cname: 'actions-gh-pages.peaceiris.com'
|
||||||
|
|
||||||
- name: Deploy
|
|
||||||
if: |
|
|
||||||
startsWith(matrix.os, 'ubuntu-16.04') &&
|
|
||||||
github.ref == 'refs/heads/main' && github.event.repository.fork == false
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_branch: gh-pages-ubuntu-16.04
|
|
||||||
publish_dir: ./test_projects/mdbook/book
|
|
||||||
# external_repository: ''
|
|
||||||
allow_empty_commit: true
|
|
||||||
keep_files: true
|
|
||||||
force_orphan: true
|
|
||||||
user_name: 'github-actions[bot]'
|
|
||||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
|
||||||
full_commit_message: ${{ github.event.head_commit.message }}
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: |
|
if: |
|
||||||
startsWith(matrix.os, 'macos') &&
|
startsWith(matrix.os, 'macos') &&
|
||||||
|
@ -55,7 +55,6 @@ All Actions runners: Linux (Ubuntu), macOS, and Windows are supported.
|
|||||||
|---|:---:|:---:|:---:|
|
|---|:---:|:---:|:---:|
|
||||||
| ubuntu-20.04 | ✅️ | ✅️ | ✅️ |
|
| ubuntu-20.04 | ✅️ | ✅️ | ✅️ |
|
||||||
| ubuntu-18.04 | ✅️ | ✅️ | ✅️ |
|
| ubuntu-18.04 | ✅️ | ✅️ | ✅️ |
|
||||||
| ubuntu-16.04 | ✅️ | ✅️ | ✅️ |
|
|
||||||
| macos-latest | ✅️ | ✅️ | ✅️ |
|
| macos-latest | ✅️ | ✅️ | ✅️ |
|
||||||
| windows-latest | ✅️ | (2) | ✅️ |
|
| windows-latest | ✅️ | (2) | ✅️ |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user