FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docs.libdebug.github.io/.github/workflows/update_docs.yml at main · libdebug/docs.libdebug.github.io · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
libdebug
/
docs.libdebug.github.io
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docs.libdebug.github.io
/
.github
/
workflows
/
update_docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
47 lines (42 loc) · 1.26 KB
Breadcrumbs
docs.libdebug.github.io
/
.github
/
workflows
/
update_docs.yml
Copy path
File metadata and controls
47 lines (42 loc) · 1.26 KB
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name
:
Sync libdebug gh-pages into main
on
:
push
:
branches
:
[main]
repository_dispatch
:
types
:
[refresh_rolling]
jobs
:
sync
:
if
:
github.actor != 'github-actions[bot]'
runs-on
:
ubuntu-latest
permissions
:
{ contents: write }
steps
:
-
uses
:
actions/checkout@v4
with
:
{ fetch-depth: 0 }
-
name
:
Checkout libdebug gh-pages
uses
:
actions/checkout@v4
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
repository
:
libdebug/libdebug
ref
:
gh-pages
path
:
libdebug-pages
fetch-depth
:
1
token
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Sync files
run
:
|
rsync -av libdebug-pages/ ./ \
--exclude '.git' --exclude '.github/**'
rm -rf libdebug-pages
-
name
:
Commit & push
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
if git diff --quiet; then
echo "✅ Nothing to commit."
else
git add --all
git commit -m "docs: sync content from libdebug@gh-pages"
git push origin HEAD
fi
Back
|
FazBrowse Home
|
New Git URL