Releasing by @s-vitaliy #93
Workflow file for this run
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: Release docs | |
run-name: Releasing by @${{ github.actor }} | |
# temporary solution to test without merging to main | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout self | |
uses: actions/checkout@v4 | |
- name: Checkout arcane-operator | |
uses: actions/checkout@v4 | |
with: | |
repository: SneaksAndData/arcane-operator | |
path: arcane-operator | |
- name: Checkout arcane-framework | |
uses: actions/checkout@v4 | |
with: | |
repository: SneaksAndData/arcane-framework | |
path: arcane-framework | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
- name: Setup DocFX | |
run: dotnet tool update -g docfx | |
- name: DocFX Build | |
run: docfx docfx.json | |
continue-on-error: false | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload entire repository | |
path: "./_site" | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |
- name: Print Page URL | |
run: echo "Github Pages URL ${{ steps.deployment.outputs.page_url }}" |