FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TypeScript/.github/workflows/sync-wiki.yml at main · unknownDev31/TypeScript · GitHub
unknownDev31
TypeScript
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TypeScript
/
.github
/
workflows
/
sync-wiki.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
24 lines (21 loc) · 645 Bytes
Breadcrumbs
TypeScript
/
.github
/
workflows
/
sync-wiki.yml
Copy path
File metadata and controls
24 lines (21 loc) · 645 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name
:
Sync Two Wiki Repos
on
:
[gollum]
permissions
:
contents
:
read
jobs
:
sync
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Get repo name
run
:
R=${GITHUB_REPOSITORY%?wiki}; echo "BASENAME=${R##*/}" >> $GITHUB_ENV
-
name
:
Checkout ${{ env.BASENAME }}-wiki
uses
:
actions/checkout@v3
with
:
repository
:
"
${{ GITHUB.repository_owner }}/${{ env.BASENAME }}-wiki
"
token
:
${{ secrets.TS_BOT_GITHUB_TOKEN }}
fetch-depth
:
0
-
name
:
Run sync
run
:
./.github/workflows/sync
env
:
PUSHER
:
typescript-bot <bot@typescriptlang.org>
AUTH
:
${{ secrets.TS_BOT_GITHUB_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL