mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 07:48:55 +00:00
Update generate_documentation.yml
This commit is contained in:
28
.github/workflows/generate_documentation.yml
vendored
28
.github/workflows/generate_documentation.yml
vendored
@@ -1,12 +1,17 @@
|
||||
name: Generate documentation
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: "44 */6 * * *"
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
generate_documentation:
|
||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||
runs-on: ubuntu-20.04
|
||||
permissions:
|
||||
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
|
||||
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
|
||||
runs-on: ubuntu-22.04
|
||||
concurrency: gen-docs
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup cache
|
||||
@@ -20,12 +25,11 @@ jobs:
|
||||
run: |
|
||||
~/dmdoc
|
||||
touch dmdoc/.nojekyll
|
||||
echo https://sandstorm-station.github.io/Sandstorm-Station-13/ > dmdoc/CNAME
|
||||
echo https://sandstorm-station.github.io/Sandstorm-Station-13 > dmdoc/CNAME
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
uses: JamesIves/github-pages-deploy-action@v4.7.3
|
||||
with:
|
||||
BRANCH: gh-pages
|
||||
CLEAN: true
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SINGLE_COMMIT: true
|
||||
FOLDER: dmdoc
|
||||
branch: gh-pages
|
||||
clean: true
|
||||
single-commit: true
|
||||
folder: dmdoc
|
||||
|
||||
Reference in New Issue
Block a user