Skip to content

Commit 07272ad

Browse files
adding new action for rebuild site
1 parent 5828d68 commit 07272ad

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/rebuildSite.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Github Pages Rebuild Web Site
2+
3+
on:
4+
workflow_dispatch:
5+
6+
# Allow this job to clone the repo and create a page deployment
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout your repository using git
17+
uses: actions/checkout@v2
18+
- name: Install, build, and upload your site
19+
uses: withastro/action@v0
20+
with:
21+
node-version: 18
22+
23+
deploy:
24+
needs: build
25+
runs-on: ubuntu-latest
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
steps:
30+
- name: Deploy to GitHub Pages
31+
id: deployment
32+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)