Skip to content

Commit d9336ea

Browse files
authored
Merge pull request #5 from google-marketing-solutions/nimrod4278-patch-1
Create deploy_to_pages.yml
2 parents 32a4af9 + ee65eac commit d9336ea

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build-and-deploy:
14+
concurrency: ci-${{ github.ref }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Install and Build
21+
run: |
22+
npm install
23+
npm run build
24+
25+
- name: Deploy
26+
uses: JamesIves/github-pages-deploy-action@v4
27+
with:
28+
folder: dist # The folder the build script generates

0 commit comments

Comments
 (0)