test publish #11
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: Publish PxtlCa | |
on: | |
push: | |
paths: | |
- 'SnowSite/**' | |
- '.github/workflows/*' | |
workflow_dispatch: | |
workflow_run: | |
workflows: ["Build Snow"] | |
types: | |
- completed | |
jobs: | |
publish: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Checkout SnowSite | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: SnowSite | |
- name: Checkout Pxtl.github.io | |
uses: actions/checkout@v3 | |
with: | |
repository: Pxtl/Pxtl.github.io | |
path: .. | |
- name: Download Snow artifact | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
workflow: build-snow.yml | |
- name: run Snow | |
shell: pwsh | |
run: | | |
$ErrorActionPreference = 'Stop' | |
ls .. #debug | |
"Running Snow..." | |
& Snow\Snow.exe config=.\SnowSite\Snow\Snow.config | |
"Checking output..." | |
ls .. #debug |