Skip to content

Commit d6636b1

Browse files
Merge pull request MonoGame#124 from AristurtleDev/update/move-docs
Updates Needed for Moving Documentation site
2 parents 0e48b26 + f960f8b commit d6636b1

File tree

105 files changed

+30
-3962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+30
-3962
lines changed

.github/workflows/main.yaml

+27-15
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,47 @@
11
name: Build and Deploy
22

33
on:
4-
5-
workflow_dispatch:
4+
push:
5+
branches:
6+
- 'main'
7+
workflow_dispatch:
68

79
permissions:
8-
contents: write
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: false
919

1020
jobs:
1121
build-and-deploy:
12-
concurrency: ci-${{ github.ref }}
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
1325
runs-on: ubuntu-latest
26+
concurrency: ci-${{ github.ref }}
1427
steps:
1528
- name: Clone repository
1629
uses: actions/checkout@v2
17-
with:
18-
submodules: recursive
19-
20-
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
21-
uses: actions/setup-dotnet@v1
22-
with:
23-
dotnet-version: '8.0.x'
2430

2531
- name: Restore NPM Packages
2632
run: npm install
2733

2834
- name: Build Site
2935
run: npm run build
3036

31-
- name: Deploy
32-
uses: JamesIves/github-pages-deploy-action@v4
37+
- name: Setup Pages
38+
uses: actions/configure-pages@v5
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
3342
with:
34-
folder: _site
35-
clean: true
43+
path: '_site'
44+
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4

.gitmodules

-3
This file was deleted.

documentation/.config/dotnet-tools.json

-12
This file was deleted.

documentation/api/index.md

-10
This file was deleted.

documentation/articles/content_pipeline/adding_ttf_fonts.md

-51
This file was deleted.

documentation/articles/content_pipeline/custom_effects.md

-95
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

documentation/articles/content_pipeline/index.md

-18
This file was deleted.

documentation/articles/content_pipeline/localization.md

-140
This file was deleted.

0 commit comments

Comments
 (0)