update notify and remove components for test

This commit is contained in:
Chris Holt 2024-02-23 14:05:56 -08:00 коммит произвёл Chris Holt
Родитель c608ccb864
Коммит a2f3d5a0bf
3 изменённых файлов: 17 добавлений и 16 удалений

28
.github/workflows/cd-deploy-www-staging.yml поставляемый
Просмотреть файл

@ -63,18 +63,6 @@ jobs:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.AZURE_WEBAPP_DIST_PATH }}
deploy_pr_to_staging:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy PR
uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.AZURE_WEBAPP_DIST_PATH }}
deploy_active_region:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
@ -86,10 +74,15 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS_ACTIVE }}
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.AZURE_WEBAPP_DIST_PATH }}
- name: 'Deploy to Active Azure Region'
uses: azure/webapps-deploy@v2
with:
publish-profile: ${{ secrets.AZURE_PUBLISH_PROFILE_WWW_ACTIVE }}
app-name: ${{ env.AZURE_WEBAPP_ACTIVE_STAGE_NAME }}
package: ${{ env.AZURE_WEBAPP_DIST_PATH }}
slot-name: ${{ env.AZURE_WEBAPP_SLOT_NAME }}
@ -105,10 +98,15 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS_PASSIVE }}
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.AZURE_WEBAPP_DIST_PATH }}
- name: 'Deploy to Passive Azure Region'
uses: azure/webapps-deploy@v2
with:
publish-profile: ${{ secrets.AZURE_PUBLISH_PROFILE_WWW_PASSIVE }}
app-name: ${{ env.AZURE_WEBAPP_PASSIVE_STAGE_NAME }}
package: ${{ env.AZURE_WEBAPP_DIST_PATH }}
slot-name: ${{ env.AZURE_WEBAPP_SLOT_NAME }}
@ -156,7 +154,7 @@ jobs:
notify:
runs-on: ubuntu-latest
needs: deploy_to_staging
needs: [deploy_active_region, deploy_passive_region]
steps:
- name: Notify on Discord

Просмотреть файл

@ -11,7 +11,6 @@
<%= require("svg/icon-brand.svg") %> <%=
require("svg/icon-brand-fast.svg") %>
</fast-anchor>
<site-navigation-item href="https://explore.fast.design">Components</site-navigation-item>
<site-navigation-item href="/docs/introduction">Documentation</site-navigation-item>
<site-navigation-item href="https://discord.gg/FcSNfg4">Community</site-navigation-item>
<fast-anchor

Просмотреть файл

@ -74,6 +74,10 @@ html[data-theme='dark'] .DocSearch-Hit[aria-selected="true"] a mark {
--ifm-menu-color-background-active: transparent;
}
.menu__list-item-collapsible--active {
background: transparent;
}
.docusaurus-highlight-code-line {
background-color: #212121;
display: block;