Skip to content

Commit

Permalink
Merge pull request backstage#3928 from adamdmharvey/doco-chore
Browse files Browse the repository at this point in the history
chore(docs): Update docs publishing process
  • Loading branch information
freben authored Jan 12, 2021
2 parents 823600d + da66c31 commit 65d5c8e
Show file tree
Hide file tree
Showing 7 changed files with 495 additions and 576 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/microsite-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x]

env:
CI: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/microsite-with-storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x]

env:
CI: true
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
run: ls microsite/build/backstage && ls microsite/build/backstage/storybook

- name: Deploy both microsite and storybook to gh-pages
uses: JamesIves/github-pages-deploy-action@3.4.2
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion microsite/blog/2020-09-08-announcing-tech-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authorURL: https://github.com/garyniemen

Since we [open sourced Backstage](https://backstage.io/blog/2020/03/16/announcing-backstage), one of the most requested features has been for a technical documentation plugin. Well, good news. The first open source version of TechDocs is here. Now let’s start collaborating and making it better, together.

<iframe width="780" height="440" src="https://www.youtube.com/embed/mOLCgdPw1iA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
<iframe width="780" height="440" src="https://www.youtube.com/embed/mOLCgdPw1iA" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen>
</iframe>

<!--truncate-->
Expand Down
2 changes: 1 addition & 1 deletion microsite/blog/2020-10-22-cost-insights-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authorURL: https://twitter.com/janisa_a

How did Spotify save millions on cloud costs within a matter of months?? We made cost optimization just another part of the daily development process. Our newly open sourced [Cost Insights plugin](https://github.com/backstage/backstage/tree/master/plugins/cost-insights) makes a team’s cloud costs visible — and actionable — right inside Backstage. So engineers can see the impact of their cloud usage (down to a product and resource level) and make optimizations wherever and whenever it makes sense. By managing cloud costs from the ground up, you can make smarter decisions that let you continue to build and scale quickly, without wasting resources.

<iframe width="780" height="440" src="https://www.youtube.com/embed/YLAd5hdXR_Q" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe width="780" height="440" src="https://www.youtube.com/embed/YLAd5hdXR_Q" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>

Are we turning engineers into accountants? Nope, we’re just letting engineers do what they do best, in the place that feels natural to them: inside Backstage.

Expand Down
2 changes: 1 addition & 1 deletion microsite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@spotify/prettier-config": "^9.0.0",
"docusaurus": "^2.0.0-alpha.378053ac5",
"docusaurus": "^2.0.0-alpha.70",
"js-yaml": "^4.0.0",
"prettier": "^2.2.1"
},
Expand Down
8 changes: 4 additions & 4 deletions microsite/pages/en/demos.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const Background = props => {
width="560"
height="315"
src="https://www.youtube.com/embed/YLAd5hdXR_Q"
frameborder="0"
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
allowFullScreen
></iframe>
</Block.MediaFrame>
</Block.Container>
Expand Down Expand Up @@ -135,9 +135,9 @@ const Background = props => {
width="560"
height="315"
src="https://www.youtube.com/embed/mOLCgdPw1iA"
frameborder="0"
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
allowFullScreen
></iframe>
</Block.MediaFrame>
</Block.Container>
Expand Down
Loading

0 comments on commit 65d5c8e

Please sign in to comment.