Skip to content

Commit

Permalink
Create release_staging.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fenix2222 authored Feb 12, 2024
1 parent dd070de commit 418d097
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to Azure Staging

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Download artifact
uses: dawidd6/action-download-artifact@v3
with:
workflow: build.yml
name: build-artifact
path: ./deploy

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Deploy to Azure App Service
uses: azure/webapps-deploy@v2
with:
app-name: auroria-test-faucet # Replace with your Azure App Service name
slot-name: staging
publish-profile: ${{ secrets.AZURE_PUBLISH_PROFILE_STAGING }} # Azure publish profile secret
package: ./deploy # Path to the downloaded artifact

0 comments on commit 418d097

Please sign in to comment.