diff --git a/.github/workflows/azure-webapps-node.yml b/.github/workflows/azure-webapps-node.yml new file mode 100644 index 0000000..3e1ed3e --- /dev/null +++ b/.github/workflows/azure-webapps-node.yml @@ -0,0 +1,78 @@ +# This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. +# +# This workflow assumes you have already created the target Azure App Service web app. +# For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli +# +# To configure this workflow: +# +# 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. +# For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials +# +# 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. +# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret +# +# 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. +# +# For more information on GitHub Actions for Azure: https://github.com/Azure/Actions +# For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples + +on: + push: + branches: [ "master" ] + workflow_dispatch: + +env: + AZURE_WEBAPP_NAME: your-app-name # set this to your application's name + AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root + NODE_VERSION: '20.x' # set this to the node version to use + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} + cache: 'npm' + + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm run test --if-present + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v3 + with: + name: node-app + path: . + + deploy: + permissions: + contents: none + runs-on: ubuntu-latest + needs: build + environment: + name: 'Development' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v3 + with: + name: node-app + + - name: 'Deploy to Azure WebApp' + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: ${{ env.AZURE_WEBAPP_NAME }} + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} + package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} diff --git a/.github/workflows/checksums.txt b/.github/workflows/checksums.txt new file mode 100644 index 0000000..081c08c --- /dev/null +++ b/.github/workflows/checksums.txt @@ -0,0 +1,20 @@ +db2efdeb5df519dabb5c23b5788b01362f3b9b2be7305af23cea22ca68c03a11 vfox_0.5.4_linux_aarch64.deb +b23cb99e7a26d83c930b8187cc8c8f290251213b17b731d2c31108812b5f3ca8 vfox_0.5.4_linux_aarch64.rpm +ef77bbbb4e97562abe394b2d4c07309087e94ac5c6ebb3263b91214f05216b41 vfox_0.5.4_linux_aarch64.tar.gz +4a9b3bd791b354deb34dd15ed208854dee68f1d1be4a65083192b5f1935a2548 vfox_0.5.4_linux_armv7.deb +65fd2e876976cd4666f646c3b4c049134c0e7fe90ec794239744452239699ff9 vfox_0.5.4_linux_armv7.rpm +6be5a0cc7c2e0a980a733f083f02f256a65ce1031e9de5a702b4d69bc0f2e1e5 vfox_0.5.4_linux_armv7.tar.gz +1830cca335c3c24d10d65428055a657ca1511ea87798f0590f60965e7a1f3961 vfox_0.5.4_linux_i386.deb +6431741c11bd7fdd6bc67594dbcc326f3a547a74fd355c69517a8a1c1298d934 vfox_0.5.4_linux_i386.rpm +cebfed869f4afe84d23a84201547657ad056bb4d7bfd3b734317b161738a2599 vfox_0.5.4_linux_i386.tar.gz +4ae0338044159deeb828948081c6eb8e6783f1397b92b050b84c79ead4df5b11 vfox_0.5.4_linux_loong64.deb +4cd9e5f9d4adf6bc668e4af204a01492b50ada76e06b36b05162772175a8f152 vfox_0.5.4_linux_loong64.rpm +43ef1197f659b36b9b1422de22b23bc6b2caa18df2358a9f52f3504e8210922a vfox_0.5.4_linux_loong64.tar.gz +e0b11dfb46579a7550dd627e83fa40822a240e58b7652bb44cf751a76ad9960e vfox_0.5.4_linux_x86_64.deb +0fc1f91032828987989ffd15b2d7da08b520c172868930812637f84551399fd7 vfox_0.5.4_linux_x86_64.rpm +ed21dc28cc75aff7999e2b1ba5095747cd8e67855c93a739768bcc0c65331d09 vfox_0.5.4_linux_x86_64.tar.gz +f3942b45f828c5e9a5f0485d21c6f6a0f23b495e88707377df14019962e95368 vfox_0.5.4_macos_aarch64.tar.gz +9c57d3122f5a3acfde3f89c3dbad4662af3e9dd6347edd1ed2e761091dcee172 vfox_0.5.4_macos_x86_64.tar.gz +33f7854d2b87812716b46d41aa10f11c647041f322c5764a2b9b186b866c240f vfox_0.5.4_windows_aarch64.zip +478658accb86b0431c79157612e4e649411d5b9a2484140f1835a0e8e2101239 vfox_0.5.4_windows_i386.zip +5b3018329226573464634dc0aabe5503cbb3937f2023dbbf42196a227bbf8be2 vfox_0.5.4_windows_x86_64.zip diff --git a/.github/workflows/vfox-0.5.4.zip b/.github/workflows/vfox-0.5.4.zip new file mode 100644 index 0000000..55b752d Binary files /dev/null and b/.github/workflows/vfox-0.5.4.zip differ