NTFSInfo.rst: add missing FILE_ATTRIBUTE_ #51
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
shell: pwsh | |
run: | | |
pip install sphinx | |
pip install solar-theme | |
.\docs\make.bat html | |
- name: Create archive artifact | |
shell: pwsh | |
run: Copy-Item -Recurse .\docs\build\html .\docs\build\dfir-orc-doc | |
- name: Upload archive artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dfir-orc-doc.zip | |
path: .\docs\build\dfir-orc-doc | |
- name: Publish html pages | |
if: github.ref == 'refs/heads/master' | |
shell: pwsh | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
run: | | |
git clone --single-branch --branch master "https://$ENV:[email protected]/DFIR-ORC/dfir-orc.github.io.git" | |
Copy-Item -Force -Recurse .\docs\build\html\* dfir-orc.github.io/ | |
cd dfir-orc.github.io/ | |
git add --all | |
git status | |
git -c "user.name=dfir-orc-bot" -c "[email protected]" commit -m "Update by GitHub Action" | |
git push |