Skip to content

Commit

Permalink
Updating & transfert to github main page...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambratolm authored and Ambratolm committed Dec 15, 2024
1 parent a7c05c2 commit 331c2da
Show file tree
Hide file tree
Showing 57 changed files with 13,437 additions and 22,804 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/node.js.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/vue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy Vue 2 to GitHub Pages

on:
push:
branches:
- master # Trigger the workflow when changes are pushed to the 'main' branch

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Set up Node.js (use Node.js 12 as required)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 12

# Step 3: Install dependencies
- name: Install dependencies
run: npm install

# Step 4: Lint the project
- name: Build project
run: npm run lint

# Step 5: Build the project
- name: Build project
run: npm run build

# Step 6: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # The directory where the Vue build output is located
Loading

0 comments on commit 331c2da

Please sign in to comment.