From 308c3470d1ecbdf56d8f5da4b44a65b0e780c0dc Mon Sep 17 00:00:00 2001 From: Pete Lindley Date: Thu, 29 Aug 2024 07:01:50 +1000 Subject: [PATCH] Updated docs --- .github/workflows/main_fetchdatabase.yml | 52 ------------------- docs/README.md | 1 + _config.yml => docs/_config.yml | 0 .../_includes}/youtubePlayer.html | 0 4 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .github/workflows/main_fetchdatabase.yml create mode 100644 docs/README.md rename _config.yml => docs/_config.yml (100%) rename {_includes => docs/_includes}/youtubePlayer.html (100%) diff --git a/.github/workflows/main_fetchdatabase.yml b/.github/workflows/main_fetchdatabase.yml deleted file mode 100644 index fbd9d56..0000000 --- a/.github/workflows/main_fetchdatabase.yml +++ /dev/null @@ -1,52 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy dotnet core app to Azure Function App - fetchdatabase - -on: - push: - branches: - - main - workflow_dispatch: - -env: - AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root - DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use - -jobs: - build-and-deploy: - runs-on: windows-latest - permissions: - id-token: write #This is required for requesting the JWT - - steps: - - name: 'Checkout GitHub Action' - uses: actions/checkout@v4 - - - name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment - uses: actions/setup-dotnet@v1 - with: - dotnet-version: ${{ env.DOTNET_VERSION }} - - - name: 'Resolve Project Dependencies Using Dotnet' - shell: pwsh - run: | - pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}' - dotnet build --configuration Release --output ./output - popd - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_C34B5187F3E24FE293CE2218F73263DC }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0FECA3BC38394D4CB38182793E705D01 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_0A4A300AC2B54D72A166A68CC8F4C844 }} - - - name: 'Run Azure Functions Action' - uses: Azure/functions-action@v1 - id: fa - with: - app-name: 'fetchdatabase' - slot-name: 'Production' - package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output' - \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..7bc4e6e --- /dev/null +++ b/docs/README.md @@ -0,0 +1 @@ +# tbwfdu.github.io diff --git a/_config.yml b/docs/_config.yml similarity index 100% rename from _config.yml rename to docs/_config.yml diff --git a/_includes/youtubePlayer.html b/docs/_includes/youtubePlayer.html similarity index 100% rename from _includes/youtubePlayer.html rename to docs/_includes/youtubePlayer.html