Skip to content

Commit fa48abc

Browse files
committed
Add deploy workflow
1 parent f2f060d commit fa48abc

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy to Public Portfolio
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout source
13+
uses: actions/checkout@v4
14+
15+
- name: Deploy to public repo
16+
uses: peaceiris/actions-gh-pages@v4
17+
with:
18+
personal_token: ${{ secrets.DEPLOY_TOKEN }}
19+
external_repository: BadibossPy/BadibossPy.github.io
20+
publish_branch: main
21+
publish_dir: ./
22+
force_orphan: true
23+
commit_message: "Deploy portfolio from private source"

Pro_Profile_Picture.png

-328 KB
Loading

0 commit comments

Comments
 (0)