Added Canonical URLs to article display #24
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
# This GitHub action to build a module in release mode, and get the PolyDeploy client and upload via PolyDeploy to a website using repository secrets. | |
# name: Deploy dnnSimpleArticle Module | |
# on: | |
# push: | |
# branches: [ main ] | |
# pull_request: | |
# branches: [ main ] | |
# jobs: | |
# deploy-module: | |
# runs-on: windows-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# - name: Add msbuild to PATH | |
# uses: microsoft/setup-msbuild@v1.0.2 | |
# # Action to get a release downloaded, we need to get the Deploy Client release from @bdukes. Might be abetter way to do this without hard coding a specific version, but it works for now. | |
# - uses: robinraju/release-downloader@v1 | |
# with: | |
# repository: "bdukes/polydeploy" | |
# fileName: "DeployClient_00.09.03.zip" | |
# tag: "v0.9.3-custom" | |
# # stick the deploy client in polydeploy folder | |
# out-file-path: "polydeploy" | |
# - name: Unzip PolyDeploy Client | |
# run: | | |
# Expand-Archive -Path 'polydeploy\DeployClient_00.09.03.zip' -DestinationPath 'polydeploy\out\' | |
# shell: powershell | |
# - name: Restore NuGet Packages | |
# run: nuget restore dnnsimplearticle.sln | |
# - name: Build and Publish Web App | |
# run: msbuild dnnsimplearticle.sln /p:Configuration=Release | |
# # get the module's version number from the DNN manifest | |
# - name: get-version-from-dnn-manifest | |
# uses: valadas/get-version-from-dnn-manifest@v1.0.1 | |
# id: getversion | |
# with: | |
# manifestPath: dnnsimplearticle.dnn | |
# - name: Copy Install Package to deployclient folder | |
# run: | | |
# cp install/DNNSimpleArticle_${{ steps.getversion.outputs.versionString }}_Install.zip polydeploy/out/DNNSimpleArticle_${{ steps.getversion.outputs.versionString }}_Install.zip | |
# shell: cmd | |
# - name: Run DeployClient to upload Zip to Production | |
# run: | | |
# cd polydeploy/out | |
# DeployClient.exe --no-prompt --target-uri ${{ secrets.TARGET_URI }} --api-key ${{ secrets.API_KEY }} --encryption-key ${{ secrets.ENCRYPTION_KEY }} | |
# shell: cmd |