Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
ligea-alexander committed Jul 21, 2023
1 parent 0e82b13 commit d8fca76
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Deploy
on:
push:
branches:
- main # Replace with your branch name

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm install

- name: Build
run: npm run predeploy

- name: Deploy
uses: "JamesIves/github-pages-deploy-action@4.1.5" # Replace with the latest version
with:
branch: gh-pages
folder: "."
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "project-3",
"version": "1.0.0",
"description": "",
"main": "tailwind.config.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
{
"scripts": {
"predeploy": "cp -r src/* ."
}
}

0 comments on commit d8fca76

Please sign in to comment.