Skip to content

Update azure-static-web-apps-white-tree-08c988100.yml #15

Update azure-static-web-apps-white-tree-08c988100.yml

Update azure-static-web-apps-white-tree-08c988100.yml #15

name: Azure Static Web Apps CI/CD
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
jobs:

Check failure on line 12 in .github/workflows/azure-static-web-apps-white-tree-08c988100.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure-static-web-apps-white-tree-08c988100.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- name: Debug
run: |
ls -al /github/workspace
find /github/workspace
- uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_TREE_08C988100 }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
output_location: 'build'
###### End of Repository/Build Configurations ######
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_WHITE_TREE_08C988100 }}
action: "close"