Skip to content

Commit 1bea36e

Browse files
committed
added github actions
1 parent 0a5333a commit 1bea36e

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/netlify_deploy_v1.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Netlify Build and Deploy V1
2+
3+
on:
4+
push:
5+
branches:
6+
- v1
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Deploy to Netlify
14+
uses: nwtgck/[email protected]
15+
with:
16+
publish-dir: './'
17+
production-branch: v1
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
deploy-message: "Deploying at aditya-mitra-v1.netlify.app - ${{ github.event.head_commit.message }}"
20+
enable-pull-request-comment: false
21+
enable-commit-comment: true
22+
overwrites-pull-request-comment: true
23+
env:
24+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN_V1 }}
25+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_V1 }}
26+
timeout-minutes: 1

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<meta charset="utf-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9-
<meta name="description" content="Aditya Mitra Portfolio Site">
10-
<meta name="author" content="uinstinct">
9+
<meta name="description" content="Aditya Mitra Portfolio Site V1">
10+
<meta name="author" content="uinstinct">
1111
<link rel="shortcut icon" href="favicon.png">
1212

1313
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,300italic,400italic' rel='stylesheet' type='text/css'>

0 commit comments

Comments
 (0)