Skip to content

test change #23166

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

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
71fba95
ci: add Azure Static Web Apps workflow file
WayneFerrao Jul 23, 2024
208db5f
Update azure-static-web-apps-happy-pebble-0ab98d51e.yml
WayneFerrao Jul 23, 2024
917f3ae
Updated pipeline to install pnpm to fix workspace error
WayneFerrao Jul 23, 2024
a6c7a6a
fix pnpm install
WayneFerrao Jul 23, 2024
bcebef7
Update build timeout
WayneFerrao Jul 24, 2024
427504c
update build output
WayneFerrao Jul 25, 2024
c590b41
update build output
WayneFerrao Jul 25, 2024
1e026f3
update build
WayneFerrao Jul 25, 2024
e4d24e1
update working directory
WayneFerrao Jul 25, 2024
669659b
add oryx env variables
WayneFerrao Jul 25, 2024
efc1f94
Skip app build
WayneFerrao Jul 25, 2024
86d2423
test change
WayneFerrao Nov 20, 2024
c64499f
ci: add Azure Static Web Apps workflow file
WayneFerrao Nov 20, 2024
e1487d1
Created Github action for pre production website environment
WayneFerrao Nov 20, 2024
031d6f2
Merge pull request #1 from microsoft/main
WayneFerrao Nov 20, 2024
76ce56a
Add action
WayneFerrao Nov 20, 2024
6917ba6
remove unwanted change
WayneFerrao Nov 20, 2024
ee22d0d
update action
WayneFerrao Nov 20, 2024
dd4c5d6
removed file
WayneFerrao Nov 20, 2024
dd08e08
updated deployment environment
WayneFerrao Nov 20, 2024
83cd6b7
fixes
WayneFerrao Nov 20, 2024
918ab64
skip oryx build
WayneFerrao Nov 21, 2024
9e78275
update locations
WayneFerrao Nov 21, 2024
89a8b88
update locations
WayneFerrao Nov 21, 2024
d60f417
update locations
WayneFerrao Nov 21, 2024
8422f06
update locations
WayneFerrao Nov 21, 2024
c93e6fe
Update comment script
WayneFerrao Nov 21, 2024
edb87f4
Cleanup
WayneFerrao Nov 21, 2024
130a647
Merge remote-tracking branch 'upstream'
WayneFerrao Nov 21, 2024
4f6572f
Merge branch 'main' into test/addPreProdEnv
WayneFerrao Nov 21, 2024
cba147f
Remove old workflows add logging
WayneFerrao Nov 21, 2024
34a8d81
update comment
WayneFerrao Nov 21, 2024
1a73409
Remove comment
WayneFerrao Nov 21, 2024
42758e6
Customize domain name
WayneFerrao Nov 21, 2024
318105a
update name
WayneFerrao Nov 21, 2024
b9b49f5
update environment to preview
WayneFerrao Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/preproductionDeployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Preproduction Deployment

on:
pull_request:
types: [opened, synchronize, reopened]
branches: [ "main" ]

env:
APP_LOCATION: "docs/build"
API_LOCATION: "docs/api"
APP_ARTIFACT_LOCATION: "docs/build"
AZURE_STATIC_WEB_APPS_API_TOKEN: ${{ secrets.AZURE_STATIC_WEB_APPS_PREPROD_API_TOKEN }}

permissions:
contents: read
pull-requests: write

jobs:
build_and_deploy:
runs-on: ubuntu-latest
name: Build and Deploy to Preview Environment
steps:
# Step 1: Checkout the repository
- uses: actions/checkout@v4
with:
submodules: true

# Step 2: Set up Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.18'

# Step 3: Install pnpm
- name: Install pnpm
run: npm install -g pnpm

# Step 4: Use pnpm for workspace setup and build
- name: Install and Build with pnpm
run: |
cd docs
pnpm install --frozen-lockfile
pnpm run build

# Step 5: Deploy to Azure Static Web Apps (Preprod)
- name: Deploy to Azure Static Web Apps (Preprod)
id: deploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ env.AZURE_STATIC_WEB_APPS_API_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub
action: "upload"
app_location: ${{ env.APP_LOCATION }}
api_location: ${{ env.API_LOCATION }}
app_artifact_location: ${{ env.APP_ARTIFACT_LOCATION }}
deployment_environment: "preview"
skip_app_build: true
Empty file.
2 changes: 1 addition & 1 deletion docs/src/components/home/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const titleBoxDescriptionText =
function TitleBox(): React.ReactElement {
return (
<div className="ffcom-title-box">
<h1 className="ffcom-title">Fluid Framework</h1>
<h1 className="ffcom-title">Fluid Frameworks</h1>
<span className="ffcom-description">{titleBoxDescriptionText}</span>
</div>
);
Expand Down
Loading