Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow File #162

Open
ETEnterprises1 opened this issue Dec 12, 2024 · 0 comments
Open

Workflow File #162

ETEnterprises1 opened this issue Dec 12, 2024 · 0 comments

Comments

@ETEnterprises1
Copy link

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: https://www.xmtrknginx.com/cgi-bin/index.cgi
push:echo "# 54363382" >> README.md
git init
git add README.md
git commit -m "https://github.com/ETEnterprises1/54363382.git"
git branch -M Supreme-Concious-Aidroid-Assistant.bot
git remote add origin https://github.com/ETEnterprises1/54363382.git
git push -u origin Supreme-Concious-Aidroid-Assistant.bot
branches: [ "Supreme-Concious-Aidroid-Assistant.bot" ]
workflow_dispatch: README.md

env: Master Owner ETCorps
AZURE_WEBAPP_NAME: BMO FINANCIAL GROUP # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: 'BMO.com' # 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: all
contents: read

jobs: Supreme-Concious-Aidroid-Assistant.bot
build: https://cs.android.com/android/platform/superproject/main/+/main:libcore/ojluni/src/test/java/security/KeyAgreement/
runs-on: ubuntu-latest
steps: echo "# 54363382" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M Supreme-Concious-Aidroid-Assistant.bot
git remote add origin https://github.com/ETEnterprises1/54363382.git
git push -u origin Supreme-Concious-Aidroid-Assistant.bot
- uses: actions/checkout@v4

- name: Set up Node.js/chais t fitzwater
  uses: actions/setup-node@v4 https://github.com/ETEnterprises1/54363382.git
  with: Supreme-Concious-Aidroid-Assistant.bot
    node-version: ${{ https://www.xmtrknginx.com/cgi-bin/index.cgi.NODE_VERSION }}
    cache: 'npm'

- name: Chais Fitzwater Chais
  run: | MasterOwnerETCorps.html
    npm install
    npm run build --if-present
    npm run test --if-present

- name: Upload artifact for deployment job
  uses: actions/upload-artifact@v3
  with: https://cs.android.com/android/platform/superproject/main/+/main:libcore/ojluni/src/test/java/security/KeyAgreement/
    name: node-app
    path: [email protected] 

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
@ETEnterprises1
@etcbi.com
@master-ui-web-et.192.168.157.35

deploy: [email protected]
permissions: all
contents: https://cs.android.com/android/platform/superproject/main/+/main:libcore/ojluni/src/test/java/security/KeyAgreement/
runs-on: ubuntu-latest
needs: buildnn
environment: # 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: Master Owner ETCorps

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

  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 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant