-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1 KB
/
Copy pathbuild-and-deploy.yml
File metadata and controls
42 lines (36 loc) · 1 KB
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
34
35
36
37
38
39
40
41
42
name: Build And Deploy
on:
push:
branches:
- source
run-name: Build And Deploy
jobs:
build-and-deploy:
name: Build And Deploy
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v6
with:
git_commit_gpgsign: true
git_user_signingkey: true
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: GitHub Pages Deploy
uses: crazy-max/ghaction-github-pages@v4
with:
author: Dzmitry Padabed <itfarrier@icloud.com>
build_dir: public
commit_message: Updates
committer: Dzmitry Padabed <itfarrier@icloud.com>
fqdn: itfarrier.github.io
keep_history: true
target_branch: master
verbose: true