Skip to content

Commit f513f9e

Browse files
committed
style: format YAML workflow for better readability
1 parent da5b2b2 commit f513f9e

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/azure-static-web-apps-white-hill-0dd101903.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,53 @@ on:
1414

1515
jobs:
1616
build_and_deploy_job:
17-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.action != 'closed')
17+
if:
18+
github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name
19+
== 'pull_request' && github.event.action != 'closed')
1820
runs-on: ubuntu-latest
1921
name: Build and Deploy Job
2022
steps:
2123
- uses: actions/checkout@v4
2224
with:
2325
submodules: true
2426
lfs: false
25-
27+
2628
- name: Setup Node.js
2729
uses: actions/setup-node@v4
2830
with:
2931
node-version: '20'
3032
cache: 'yarn'
31-
33+
3234
- name: Install Bun
3335
run: npm install -g bun@1.2.23
34-
36+
3537
- name: Install dependencies
3638
run: bun install
37-
39+
3840
- name: Build app
3941
run: bun run build
4042
env:
4143
NODE_ENV: production
4244
APP_CONFIG: config/default.js
4345
PUBLIC_URL: /
4446
QUICK_BUILD: false
45-
47+
4648
- name: Copy staticwebapp.config.json to dist
4749
run: cp staticwebapp.config.json platform/app/dist/
48-
50+
4951
- name: Verify build output
5052
run: |
5153
echo "Build directory contents:"
5254
ls -la platform/app/dist/
5355
echo "Config files:"
5456
ls -la platform/app/dist/config/ || echo "No config directory"
55-
57+
5658
- name: Build And Deploy
5759
id: builddeploy
5860
uses: Azure/static-web-apps-deploy@v1
5961
with:
60-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_HILL_0DD101903 }}
62+
azure_static_web_apps_api_token:
63+
${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_HILL_0DD101903 }}
6164
repo_token: ${{ secrets.GITHUB_TOKEN }}
6265
action: 'upload'
6366
skip_app_build: true

0 commit comments

Comments
 (0)