-
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (48 loc) 路 1.36 KB
/
Copy pathdeploy.yml
File metadata and controls
57 lines (48 loc) 路 1.36 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Build and Deploy
on:
push:
branches:
- main
paths:
- "src/**"
- "public/**"
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code 馃泿
uses: actions/checkout@v7.0.0
with:
persist-credentials: false
- name: Download Resume 馃摐
uses: xsalazar/actions/downloader@main
with:
url: ${{ secrets.RESUME_URL }}
filename: "public/resume.pdf"
- name: Download Terraform Certification 馃捑
uses: xsalazar/actions/downloader@main
with:
url: ${{ secrets.TERRAFORM_CERTIFICATION_URL }}
filename: "public/terraform-cert.pdf"
- name: Download AWS Certification 馃捑
uses: xsalazar/actions/downloader@main
with:
url: ${{ secrets.AWS_CERTIFICATION_URL }}
filename: "public/aws-cert.pdf"
- name: Setup Node 馃彈
uses: actions/setup-node@v6.4.0
with:
node-version: "24"
- name: Install and Build 馃敡
run: |
npm install
npm run build
- name: Deploy 馃殌
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
branch: gh-pages
folder: build
CLEAN: true # Automatically remove deleted files from the deploy branch