Skip to content

Commit 08aea30

Browse files
author
Sanajit Jana
committed
Update action script
1 parent e588e4f commit 08aea30

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/pages.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
if: github.actor != 'github-actions[bot]'
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
environment:
17+
name: github-pages
18+
url: ${{ steps.deployment.outputs.page_url }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Setup Pages
22+
uses: actions/configure-pages@v4
23+
- name: Upload artifact
24+
uses: actions/upload-pages-artifact@v3
25+
with:
26+
path: '.'
27+
- name: Deploy to GitHub Pages
28+
id: deployment
29+
uses: actions/deploy-pages@v4

.github/workflows/update-readme.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- 'README.md'
79

810
permissions:
911
contents: write

0 commit comments

Comments
 (0)