Skip to content

fix database password in devcontainers #283

fix database password in devcontainers

fix database password in devcontainers #283

name: Azure Static Web Apps
on:
push:
branches:
- master
paths-ignore:
- 'server/**'
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- master
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
container:
image: docker.io/homebrew/ubuntu22.04
options: --user root
name: Build and Deploy Job
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
config-file: ./.github/codeql/codeql-config.yml
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
#skip_deploy_on_missing_secrets: true #see https://github.com/Azure/static-web-apps/issues/679
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_POND_027969F03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/client/" # App source code path
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env: # Add environment variables here
VITE_VUE_APP_HOSTNAME: "https://rssmonster-server.azurewebsites.net"
VITE_NODE_ENV: production
VITE_BASE_URL: "/"
SKIP_DEPLOY_ON_MISSING_SECRETS: true
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_POND_027969F03 }}
action: "close"