Фикс мерджа плазмастекла (#543) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate documentation | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
generate_documentation: | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
runs-on: ubuntu-20.04 | ||
permissions: read-all|write-all | ||
Check failure on line 10 in .github/workflows/generate_documentation.yml GitHub Actions / Generate documentationInvalid workflow file
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/SpacemanDMM | ||
key: ${{ runner.os }}-spacemandmm-${{ secrets.CACHE_PURGE_KEY }} | ||
- name: Install SpacemanDMM | ||
run: bash tools/ci/install_spaceman_dmm.sh dmdoc | ||
- name: Generate documentation | ||
run: | | ||
~/dmdoc | ||
touch dmdoc/.nojekyll | ||
echo https://splurt-station.github.io/S.P.L.U.R.T-Station-13/ > dmdoc/CNAME | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
BRANCH: gh-pages | ||
CLEAN: true | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SINGLE_COMMIT: true | ||
FOLDER: dmdoc |