Skip to content

Commit be8441d

Browse files
authored
Merge pull request #33 from mateuseap/develop
Update e-mail link in `Footer` component and improve CD workflow
2 parents 29b885b + fe6f626 commit be8441d

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy
1+
name: CD
22

33
on:
44
push:
@@ -9,23 +9,18 @@ jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: de-vri-es/setup-git-credentials@v2
14-
with:
15-
credentials: ${{ secrets.GIT_CREDENTIALS }}
12+
- uses: actions/checkout@v4
1613

1714
- name: Git setup
1815
run: |
19-
git config --global user.email "[email protected]"
20-
git config --global user.name "Mateus Elias"
16+
git config --global user.name github-actions[bot]
17+
git config --global user.email github-actions[bot]@users.noreply.github.com
2118
22-
- name: Git fetch
23-
run: |
24-
git fetch --all
25-
git branch -a
19+
- name: Install dependencies
20+
run: npm install
2621

27-
- name: Build & Deploy
28-
run: |
29-
npm install
30-
npm run build
31-
npm run deploy
22+
- name: Build
23+
run: npm run build
24+
25+
- name: Deploy
26+
run: npm run deploy

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mateuseap.github.io",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"private": true,
55
"homepage": "https://www.mateuseap.com",
66
"dependencies": {

src/components/Footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function Footer() {
5454
</div>
5555
<div className='flex flex-col items-start gap-4'>
5656
<a
57-
href='mailto:[email protected]'
57+
href='mailto:[email protected]'
5858
className={clsx(
5959
'flex items-center gap-2 rounded-md bg-rose-100/30 p-2 font-semibold w-full',
6060
'shadow-md transition-all duration-300 ease-out',

0 commit comments

Comments
 (0)