-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 750 Bytes
/
Copy pathmaster.yml
File metadata and controls
34 lines (30 loc) · 750 Bytes
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
name: build_and_deploy_luk6xff's_blog_on_github_pages
# On every push this script is executed
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions: write-all
jobs:
build:
name: builv_and_publish_the_blog
runs-on: ubuntu-latest
steps:
- name: checkout_master
uses: actions/checkout@v4
- name: build_the_blog
run: |
chmod +x run.sh
./run.sh -b
ls -la public
ls -la public/other
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages
force_orphan: true