Skip to content

Commit

Permalink
cd: add workflow for deployment
Browse files Browse the repository at this point in the history
- Added a GitHub Actions workflow to handle the deployment process.
- Automates the deployment steps to streamline the release pipeline.
- Ensures consistent and reliable deployments across environments.
  • Loading branch information
Fingertips18 committed Jan 18, 2025
1 parent 89d4552 commit 7cf4d09
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Portfolio - Deploy

on:
workflow_dispatch:

jobs:
build:
name: Deploy Application
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Download Build Artifact
uses: actions/download-artifact@v4
with:
name: dist

- name: Deploy to GitHub Pages
run: |
npm install -g gh-pages
npm run deploy

0 comments on commit 7cf4d09

Please sign in to comment.