Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c65b611

Browse files
committed
Adds .github stuff
1 parent 805be2b commit c65b611

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

‎.github/FUNDING.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: AXVin
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: AXVin
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

‎.github/workflows/main.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy MkDocs files
2+
3+
on:
4+
push:
5+
paths:
6+
- 'docs/**'
7+
- 'mkdocs.yml'
8+
- 'themes/**'
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
runs-on: [ubuntu-latest]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python 3.8
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: 3.8
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip setuptools
24+
python -m pip install -U -r requirements.txt
25+
- name: Deploy Files
26+
run: |
27+
git config user.name "github-actions[bot]" # We can use the Username and E-Mail of GitHub Actions for Git.
28+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
29+
git remote add repo "https://github.com/mobile-coding-hub/mobile-coding-hub.github.io.git"
30+
git fetch repo && git fetch repo docs:docs
31+
python -m mkdocs gh-deploy --clean --remote-name repo
32+
git push repo master

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /